xiongjie commited on
Commit
4d59a38
1 Parent(s): a479071

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -16,5 +16,5 @@ model_original = ClassificationModel(
16
  def predict_emoticon(text):
17
  return emoji.emojize(":" + CLASS_NAMES[model_onnx.predict([text])[0][0]] + ":")
18
 
19
- iface = gr.Interface(fn=greet, inputs="text", outputs="text")
20
  iface.launch()
 
16
  def predict_emoticon(text):
17
  return emoji.emojize(":" + CLASS_NAMES[model_onnx.predict([text])[0][0]] + ":")
18
 
19
+ iface = gr.Interface(fn=predict_emoticon, inputs="text", outputs="text")
20
  iface.launch()