Spaces:
Sleeping
Sleeping
error correction
Browse files
app.py
CHANGED
|
@@ -1,6 +1,6 @@
|
|
| 1 |
import random
|
| 2 |
import gradio as gr
|
| 3 |
-
|
| 4 |
|
| 5 |
client = InferenceClient("Qwen/Qwen2.5-7B-Instruct")
|
| 6 |
|
|
@@ -21,3 +21,5 @@ def respond(message, history):
|
|
| 21 |
|
| 22 |
chatbot = gr.ChatInterface(respond)
|
| 23 |
chatbot.launch()
|
|
|
|
|
|
|
|
|
| 1 |
import random
|
| 2 |
import gradio as gr
|
| 3 |
+
from huggingface_hub import InferenceClient
|
| 4 |
|
| 5 |
client = InferenceClient("Qwen/Qwen2.5-7B-Instruct")
|
| 6 |
|
|
|
|
| 21 |
|
| 22 |
chatbot = gr.ChatInterface(respond)
|
| 23 |
chatbot.launch()
|
| 24 |
+
|
| 25 |
+
|