Update app.py
Browse files
app.py
CHANGED
|
@@ -16,8 +16,7 @@ history_openai_format = [
|
|
| 16 |
]
|
| 17 |
|
| 18 |
# Define the function that takes a name and text input to generate the speech
|
| 19 |
-
def generate_speech(name,
|
| 20 |
-
input_text = raw_input_text
|
| 21 |
global history_openai_format # Use the global history variable to maintain state
|
| 22 |
|
| 23 |
# Get dateTime string to build a filename reflecting the UserID + Timestamp
|
|
|
|
| 16 |
]
|
| 17 |
|
| 18 |
# Define the function that takes a name and text input to generate the speech
|
| 19 |
+
def generate_speech(name, input_text):
|
|
|
|
| 20 |
global history_openai_format # Use the global history variable to maintain state
|
| 21 |
|
| 22 |
# Get dateTime string to build a filename reflecting the UserID + Timestamp
|