PhoenixStormJr commited on
Commit
2958d0e
·
verified ·
1 Parent(s): 66047a7

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +6 -5
app.py CHANGED
@@ -1,8 +1,9 @@
1
  import gradio as gr
2
 
3
  def greet(name):
4
- return "Hello " + name + "!!"
5
- print("HELLO THERE!!!")
6
- x = input("HOWDY!")
7
- demo = gr.Interface(fn=greet, inputs="text", outputs="text")
8
- demo.launch()
 
 
1
  import gradio as gr
2
 
3
  def greet(name):
4
+ return "Hello " + name + "!"
5
+
6
+ demo = gr.Interface(fn=greet, inputs="textbox", outputs="textbox")
7
+
8
+ if __name__ == "__main__":
9
+ demo.launch()