torontodeveloper commited on
Commit
a0f426e
·
verified ·
1 Parent(s): 3780b75

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -4,7 +4,7 @@ from transformers import pipeline
4
 
5
  def greet(name):
6
  pipe = pipeline('text-classification')
7
- result = pipe('Restaurante is awesome')
8
  return result
9
 
10
  demo = gr.Interface(fn=greet, inputs="text", outputs="text")
 
4
 
5
  def greet(name):
6
  pipe = pipeline('text-classification')
7
+ result = pipe(name)
8
  return result
9
 
10
  demo = gr.Interface(fn=greet, inputs="text", outputs="text")