sanchit-gandhi HF staff commited on
Commit
c90fcd7
1 Parent(s): 93d33bf

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -66,7 +66,7 @@ def verify_demo(repo_id):
66
  raise gr.Error(f"Error with loading Space: {e}")
67
 
68
  try:
69
- audio_file = client.predict("test.wav", api_name="/predict")
70
  except Exception as e:
71
  raise gr.Error(
72
  f"Error with querying Space, ensure your Space takes an audio file as input and returns an audio as output: {e}"
 
66
  raise gr.Error(f"Error with loading Space: {e}")
67
 
68
  try:
69
+ audio_file = client.predict("test_short.wav", api_name="/predict")
70
  except Exception as e:
71
  raise gr.Error(
72
  f"Error with querying Space, ensure your Space takes an audio file as input and returns an audio as output: {e}"