fix: use the "predict" fn instead of the "greet" fn
Browse files
app.py
CHANGED
@@ -104,8 +104,5 @@ def predict(tweet):
|
|
104 |
|
105 |
|
106 |
|
107 |
-
|
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()
|