Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -2,7 +2,7 @@ from transformers import pipeline
|
|
| 2 |
import gradio as gr
|
| 3 |
|
| 4 |
# تحميل نموذج دردشة مجاني من Hugging Face
|
| 5 |
-
chatbot = pipeline("text-generation", model="
|
| 6 |
|
| 7 |
def chat_with_ai(message, history=[]):
|
| 8 |
prompt = ""
|
|
|
|
| 2 |
import gradio as gr
|
| 3 |
|
| 4 |
# تحميل نموذج دردشة مجاني من Hugging Face
|
| 5 |
+
chatbot = pipeline("text-generation", model="HuggingFaceH4/zephyr-7b-beta")
|
| 6 |
|
| 7 |
def chat_with_ai(message, history=[]):
|
| 8 |
prompt = ""
|