Commit
·
a8336bb
1
Parent(s):
bb936fe
Update app.py
Browse files
app.py
CHANGED
@@ -590,8 +590,7 @@ latent_map["Pirate"] = get_latents("voices/pirate_by_coqui.wav")
|
|
590 |
|
591 |
# Define the main function for the API endpoint that takes the input text and chatbot role
|
592 |
def generate_story_and_speech(input_text, chatbot_role):
|
593 |
-
|
594 |
-
story_sentences = get_sentence(history, chatbot_role) # calls your get_sentence function
|
595 |
|
596 |
# Initialize story_text
|
597 |
story_text = ""
|
|
|
590 |
|
591 |
# Define the main function for the API endpoint that takes the input text and chatbot role
|
592 |
def generate_story_and_speech(input_text, chatbot_role):
|
593 |
+
story_sentences = get_sentence(None, chatbot_role) # calls your get_sentence function
|
|
|
594 |
|
595 |
# Initialize story_text
|
596 |
story_text = ""
|