Sathiyapramod commited on
Commit
23703ce
·
verified ·
1 Parent(s): f474cf8

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +5 -1
app.py CHANGED
@@ -9,5 +9,9 @@ classifiers = pipeline(
9
  def greet(name):
10
  return classifiers(name)[0]
11
 
12
- demo = gr.Interface(fn=greet, inputs="textbox", outputs="textbox")
 
 
 
 
13
  demo.launch()
 
9
  def greet(name):
10
  return classifiers(name)[0]
11
 
12
+ demo = gr.Interface(
13
+ fn=greet,
14
+ inputs="textbox",
15
+ outputs=[gr.Textbox(label="Expected output",lines=2)]
16
+ )
17
  demo.launch()