Araeynn commited on
Commit
3b18704
1 Parent(s): b6044e7

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -16,7 +16,7 @@ def exc(source, token):
16
  consoleop = sys.stdout.getvalue().strip()
17
  return [op, consoleop]
18
  except Exception as e:
19
- return f"{e}"
20
  sys.stdout = original_stdout
21
 
22
  app = gr.Interface(
 
16
  consoleop = sys.stdout.getvalue().strip()
17
  return [op, consoleop]
18
  except Exception as e:
19
+ return ["", f"{e}"]
20
  sys.stdout = original_stdout
21
 
22
  app = gr.Interface(