FarelDeveloper commited on
Commit
7637f83
·
verified ·
1 Parent(s): 18b108b

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -4
app.py CHANGED
@@ -54,13 +54,12 @@ def chat_phi(message, history):
54
  partial_text += new_text
55
  yield partial_text
56
 
57
- # Mengaktifkan antarmuka Chatbot menggunakan UI modern Gradio
58
  demo = ui.ChatInterface(
59
  fn=chat_phi,
60
  title="🧠 Phi-3.5 Mini Instruct Chatbot",
61
- description="Merasakan kekuatan model penalaran 3.8B buatan Microsoft, berjalan stabil langsung dari CPU Hugging Face Space Gratisan.",
62
- theme="soft"
63
- )
64
 
65
  if __name__ == "__main__":
66
  demo.launch()
 
54
  partial_text += new_text
55
  yield partial_text
56
 
57
+ # Mengaktifkan antarmuka Chatbot menggunakan UI Gradio yang baru
58
  demo = ui.ChatInterface(
59
  fn=chat_phi,
60
  title="🧠 Phi-3.5 Mini Instruct Chatbot",
61
+ description="Merasakan kekuatan model penalaran 3.8B buatan Microsoft, berjalan stabil langsung dari CPU Hugging Face Space Gratisan."
62
+ ) # Baris theme="soft" DIHAPUS agar tidak error
 
63
 
64
  if __name__ == "__main__":
65
  demo.launch()