alan commited on
Commit
c973af2
·
1 Parent(s): fbee46a
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -779,7 +779,7 @@ def synthandreturn(text):
779
  raise NotImplementedError
780
 
781
  except:
782
- raise gr.Error('Unable to call API, please try again :)')
783
  print('Done with', model)
784
  if model in {"moe-vits"}:
785
  result = result[1]
 
779
  raise NotImplementedError
780
 
781
  except:
782
+ raise gr.Error(f'Unable to call {model} API, please try again :)')
783
  print('Done with', model)
784
  if model in {"moe-vits"}:
785
  result = result[1]