AhmadT198 commited on
Commit
0dc1348
·
1 Parent(s): a1cd320

fix: use the "predict" fn instead of the "greet" fn

Browse files
Files changed (1) hide show
  1. app.py +1 -4
app.py CHANGED
@@ -104,8 +104,5 @@ def predict(tweet):
104
 
105
 
106
 
107
- def greet(name):
108
- return "Hello " + name + "!!"
109
-
110
- demo = gr.Interface(fn=greet, inputs="text", outputs="text")
111
  demo.launch()
 
104
 
105
 
106
 
107
+ demo = gr.Interface(fn=predict, inputs="text", outputs="text")
 
 
 
108
  demo.launch()