Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -1,7 +1,7 @@
|
|
| 1 |
import gradio as gr
|
| 2 |
from huggingface_hub import InferenceClient
|
| 3 |
|
| 4 |
-
client = InferenceClient("HuggingFaceH4/zephyr-7b-beta")
|
| 5 |
|
| 6 |
def respond(message, history):
|
| 7 |
|
|
@@ -21,4 +21,4 @@ def respond(message, history):
|
|
| 21 |
|
| 22 |
chatbot = gr.ChatInterface(respond, type="messages")
|
| 23 |
|
| 24 |
-
chatbot.launch(
|
|
|
|
| 1 |
import gradio as gr
|
| 2 |
from huggingface_hub import InferenceClient
|
| 3 |
|
| 4 |
+
client = InferenceClient("HuggingFaceH4/zephyr-7b-beta", token = HF_Token)
|
| 5 |
|
| 6 |
def respond(message, history):
|
| 7 |
|
|
|
|
| 21 |
|
| 22 |
chatbot = gr.ChatInterface(respond, type="messages")
|
| 23 |
|
| 24 |
+
chatbot.launch(debug=True)
|