Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -4,7 +4,7 @@ from huggingface_hub import InferenceClient
|
|
| 4 |
|
| 5 |
|
| 6 |
|
| 7 |
-
client = InferenceClient("
|
| 8 |
def respond (message, history):
|
| 9 |
messages = [{"role": "system", "content": "You are a friendly chatbot."}]
|
| 10 |
if history:
|
|
@@ -28,9 +28,7 @@ def echo (message, history):
|
|
| 28 |
|
| 29 |
|
| 30 |
chatbot = gr.ChatInterface(respond, type = "messages")
|
| 31 |
-
chatbot
|
| 32 |
-
chatbot.launch(True))
|
| 33 |
-
|
| 34 |
|
| 35 |
|
| 36 |
|
|
|
|
| 4 |
|
| 5 |
|
| 6 |
|
| 7 |
+
client = InferenceClient("google/gemma-3-27b-it ")
|
| 8 |
def respond (message, history):
|
| 9 |
messages = [{"role": "system", "content": "You are a friendly chatbot."}]
|
| 10 |
if history:
|
|
|
|
| 28 |
|
| 29 |
|
| 30 |
chatbot = gr.ChatInterface(respond, type = "messages")
|
| 31 |
+
chatbot = grchatbot.launch(debug=True)
|
|
|
|
|
|
|
| 32 |
|
| 33 |
|
| 34 |
|