Spaces:
Running
Running
Update Gradio_UI.py
Browse files- Gradio_UI.py +1 -1
Gradio_UI.py
CHANGED
@@ -208,7 +208,7 @@ class GradioUI:
|
|
208 |
"""Wrapper function that sends the request to the agent and retrieves the joke and its audio."""
|
209 |
print(f"[DEBUG] Запрос к агенту: {word}") # Отладочный вывод перед вызовом агента
|
210 |
|
211 |
-
response = self.agent.run(word) # Запрашиваем у агента шутку
|
212 |
|
213 |
print("[DEBUG] Агент вернул ответ:", response) # Проверяем, что агент вообще что-то вернул
|
214 |
|
|
|
208 |
"""Wrapper function that sends the request to the agent and retrieves the joke and its audio."""
|
209 |
print(f"[DEBUG] Запрос к агенту: {word}") # Отладочный вывод перед вызовом агента
|
210 |
|
211 |
+
response = self.agent.run(f"Find a dad joke that contains the word: {word}") # Запрашиваем у агента шутку
|
212 |
|
213 |
print("[DEBUG] Агент вернул ответ:", response) # Проверяем, что агент вообще что-то вернул
|
214 |
|