cbensimon HF staff commited on
Commit
116e090
1 Parent(s): ac1f278

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -10,4 +10,4 @@ def greet(n):
10
  print(zero.device) # <-- 'cuda:0' 🤗
11
  return f"Hello {zero + n} Tensor"
12
 
13
- gr.Interface(fn=greet, inputs=gr.Number(), outputs=gr.Text()).launch()
 
10
  print(zero.device) # <-- 'cuda:0' 🤗
11
  return f"Hello {zero + n} Tensor"
12
 
13
+ gr.Interface(fn=greet, inputs=gr.Number(), outputs=gr.Text()).launch(show_error=True)