Onegafer commited on
Commit
947c823
·
1 Parent(s): a3cc6b1

Update to use Gradio client JS

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -30,7 +30,7 @@ def redirect(query, collection_name):
30
  print(f"Failed to get prediction: {e}")
31
  print(f"Exception type: {type(e)}")
32
  print(traceback.format_exc())
33
- return "Failed to get prediction. Please try again."
34
 
35
  return result
36
 
 
30
  print(f"Failed to get prediction: {e}")
31
  print(f"Exception type: {type(e)}")
32
  print(traceback.format_exc())
33
+ return f"Failed to get prediction ({e}), Please try again."
34
 
35
  return result
36