uasername commited on
Commit
9cc8716
·
verified ·
1 Parent(s): e27309c

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +6 -4
app.py CHANGED
@@ -95,10 +95,12 @@ agent = CodeAgent(
95
  )
96
 
97
  # Gradio interface with text and audio output
98
- def gradio_search_jokes(word):
99
- """Wrapper function for Gradio to call search_dad_jokes and generate audio."""
100
- response_text, audio_file = search_dad_jokes(word) # Ensure search_dad_jokes returns (text, file path)
101
- return response_text, audio_file
 
 
102
 
103
  # Define the Gradio UI
104
  #with gr.Blocks() as demo:
 
95
  )
96
 
97
  # Gradio interface with text and audio output
98
+ #def gradio_search_jokes(word):
99
+ # """Wrapper function for Gradio to call search_dad_jokes and generate audio."""
100
+ # response_text, audio_file = search_dad_jokes(word) # Ensure search_dad_jokes returns (text, file path)
101
+ # return response_text, audio_file
102
+
103
+
104
 
105
  # Define the Gradio UI
106
  #with gr.Blocks() as demo: