abidlabs HF staff commited on
Commit
a22159c
·
1 Parent(s): 480375b

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +4 -1
app.py CHANGED
@@ -3,4 +3,7 @@ import gradio as gr
3
  def greet(name):
4
  return "Hello " + name
5
 
6
- gr.Interface(fn=greet, inputs="text", outputs="text", css=".footer{display:none !important}").launch()
 
 
 
 
3
  def greet(name):
4
  return "Hello " + name
5
 
6
+ # We instantiate the Textbox class
7
+ textbox = gr.inputs.Textbox(label="Type your name here:", placeholder="John Doe", lines=2)
8
+
9
+ gr.Interface(fn=greet, inputs=textbox, outputs="text").launch()