Spaces:
Running
on
Zero
Running
on
Zero
Upload folder using huggingface_hub
Browse files
app.py
CHANGED
|
@@ -143,6 +143,8 @@ def respond(message: str, history: list, title: str, chat_context: ChatContext):
|
|
| 143 |
# Yield the partial response AND the current state
|
| 144 |
yield response, chat_context
|
| 145 |
|
|
|
|
|
|
|
| 146 |
# --- GRADIO UI ---
|
| 147 |
# Defines the web interface for the chatbot.
|
| 148 |
@staticmethod
|
|
|
|
| 143 |
# Yield the partial response AND the current state
|
| 144 |
yield response, chat_context
|
| 145 |
|
| 146 |
+
print(f"[assistant] {response}")
|
| 147 |
+
|
| 148 |
# --- GRADIO UI ---
|
| 149 |
# Defines the web interface for the chatbot.
|
| 150 |
@staticmethod
|