Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -11,9 +11,10 @@ def generateTextAndAudio(inputText, numGen):
|
|
| 11 |
# then get the generated text from the dictionary using the `generated_text` key
|
| 12 |
genText = textOutput[0]['generated_text']
|
| 13 |
|
| 14 |
-
print("
|
| 15 |
-
|
| 16 |
print("Generated Text:", genText)
|
|
|
|
| 17 |
|
| 18 |
# --- Generating the Audio ---
|
| 19 |
# With the newly generated text, generate some speech
|
|
|
|
| 11 |
# then get the generated text from the dictionary using the `generated_text` key
|
| 12 |
genText = textOutput[0]['generated_text']
|
| 13 |
|
| 14 |
+
print("-"*30)
|
| 15 |
+
print("Input Text:", inputText
|
| 16 |
print("Generated Text:", genText)
|
| 17 |
+
print("-"*30)
|
| 18 |
|
| 19 |
# --- Generating the Audio ---
|
| 20 |
# With the newly generated text, generate some speech
|