Spaces:
Sleeping
Sleeping
Update app.py
Browse files
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
|
| 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 |
-
|
| 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()
|