uasername commited on
Commit
9e14283
·
verified ·
1 Parent(s): 696c962

Create jokes.py

Browse files
Files changed (1) hide show
  1. jokes.py +4 -0
jokes.py ADDED
@@ -0,0 +1,4 @@
 
 
 
 
 
1
+ def gradio_search_jokes(word):
2
+ """Wrapper function for Gradio to call search_dad_jokes and generate audio."""
3
+ response_text, audio_file = search_dad_jokes(word) # Ensure search_dad_jokes returns (text, file path)
4
+ return response_text, audio_file