Spaces:
PhilSpiel
/
Running

PhilSpiel commited on
Commit
876c6bd
1 Parent(s): b8c9969

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
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):