paiguxia commited on
Commit
4635dd8
1 Parent(s): 00a862e
Files changed (1) hide show
  1. app.py +2 -1
app.py CHANGED
@@ -2,7 +2,8 @@ import gradio as gr
2
 
3
 
4
  def greet(name):
5
- return "Hello, welcome to " + name + "!"
 
6
 
7
 
8
  demo = gr.Interface(fn=greet, inputs="textbox", outputs="textbox")
 
2
 
3
 
4
  def greet(name):
5
+ result = 1 / 0
6
+ return "Hello, welcome to " + name + "!" + result
7
 
8
 
9
  demo = gr.Interface(fn=greet, inputs="textbox", outputs="textbox")