Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -29,7 +29,7 @@ def predict(user_input, history):
|
|
| 29 |
transcript_file_path = f"{prefix}{coach_code}-{file_name}"
|
| 30 |
transcript = "" # Initialize the transcript variable
|
| 31 |
|
| 32 |
-
if user_input == tx:
|
| 33 |
try:
|
| 34 |
# Prepare the transcript for the Textbox output
|
| 35 |
if os.path.exists(transcript_file_path):
|
|
|
|
| 29 |
transcript_file_path = f"{prefix}{coach_code}-{file_name}"
|
| 30 |
transcript = "" # Initialize the transcript variable
|
| 31 |
|
| 32 |
+
if user_input == tx + coach_code:
|
| 33 |
try:
|
| 34 |
# Prepare the transcript for the Textbox output
|
| 35 |
if os.path.exists(transcript_file_path):
|