gorkemgoknar commited on
Commit
bea7e9f
1 Parent(s): ca90f09

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -0
app.py CHANGED
@@ -39,6 +39,7 @@ def predict(prompt, language, audio_file_pth, mic_file_path, use_mic, agree):
39
  # cannot do anything on cuda device side error, need tor estart
40
  gr.Warning("Unhandled Exception encounter, please retry in a minute")
41
  print("Cuda device-assert Runtime encountered need restart")
 
42
  sys.exit("Exit due to cuda device-assert")
43
  raise
44
 
 
39
  # cannot do anything on cuda device side error, need tor estart
40
  gr.Warning("Unhandled Exception encounter, please retry in a minute")
41
  print("Cuda device-assert Runtime encountered need restart")
42
+ print(e.message)
43
  sys.exit("Exit due to cuda device-assert")
44
  raise
45