onuri commited on
Commit
971ecb4
1 Parent(s): 1001165

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -1,6 +1,6 @@
1
  import gradio as gr
2
 
3
- def greet(name: gr.inputs.TextBlock()):
4
  return "Hello, " + name + "!"
5
 
6
  iface = gr.Interface(fn=greet, inputs="text", outputs="text")
 
1
  import gradio as gr
2
 
3
+ def greet(name: gr.inputs.Text()):
4
  return "Hello, " + name + "!"
5
 
6
  iface = gr.Interface(fn=greet, inputs="text", outputs="text")