Spaces:
Running
Running
def gradio_search_jokes(word): | |
"""Wrapper function for Gradio to call search_dad_jokes and generate audio.""" | |
response_text, audio_file = search_dad_jokes(word) # Ensure search_dad_jokes returns (text, file path) | |
return response_text, audio_file |