Spaces:
Paused
Paused
Commit
•
b967e55
1
Parent(s):
9d33eb1
Update app.py
Browse files
app.py
CHANGED
@@ -661,7 +661,7 @@ def generate_story_and_speech(secret_token, input_text, chatbot_role):
|
|
661 |
return generate_speech_from_history(history_tuples, chatbot_role, story_text)
|
662 |
|
663 |
else:
|
664 |
-
return
|
665 |
|
666 |
# Create a Gradio Interface using only the `generate_story_and_speech()` function and the 'json' output type
|
667 |
demo = gr.Interface(
|
|
|
661 |
return generate_speech_from_history(history_tuples, chatbot_role, story_text)
|
662 |
|
663 |
else:
|
664 |
+
return []
|
665 |
|
666 |
# Create a Gradio Interface using only the `generate_story_and_speech()` function and the 'json' output type
|
667 |
demo = gr.Interface(
|