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

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -7,7 +7,7 @@ classifiers = pipeline(
7
  )
8
 
9
  def greet(name):
10
- return classifiers(name)
11
 
12
- demo = gr.Interface(fn=greet, inputs="text", outputs="text")
13
  demo.launch()
 
7
  )
8
 
9
  def greet(name):
10
+ return classifiers(name)[0]
11
 
12
+ demo = gr.Interface(fn=greet, inputs="textbox", outputs="textbox")
13
  demo.launch()