Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
@@ -87,7 +87,7 @@ agent = CodeAgent(
|
|
87 |
prompt_templates=prompt_templates
|
88 |
)
|
89 |
|
90 |
-
Gradio interface with text and audio output
|
91 |
def gradio_search_jokes(word):
|
92 |
"""Wrapper function for Gradio to call search_dad_jokes and generate audio."""
|
93 |
response_text, audio_file = search_dad_jokes(word) # Ensure search_dad_jokes returns (text, file path)
|
|
|
87 |
prompt_templates=prompt_templates
|
88 |
)
|
89 |
|
90 |
+
#Gradio interface with text and audio output
|
91 |
def gradio_search_jokes(word):
|
92 |
"""Wrapper function for Gradio to call search_dad_jokes and generate audio."""
|
93 |
response_text, audio_file = search_dad_jokes(word) # Ensure search_dad_jokes returns (text, file path)
|