Martijn van Beers commited on
Commit
97c0e0a
1 Parent(s): 360dec9

Fix function name

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -190,5 +190,5 @@ def run(input_text):
190
  html = show_explanation(model, input_ids, attention_mask)
191
  return html
192
 
193
- iface = gradio.Interface(fn=greet, inputs="text", outputs="html", examples=[["This movie was the best movie I have ever seen! some scenes were ridiculous, but acting was great"], ["I really didn't like this movie. Some of the actors were good, but overall the movie was boring"]])
194
  iface.launch()
 
190
  html = show_explanation(model, input_ids, attention_mask)
191
  return html
192
 
193
+ iface = gradio.Interface(fn=run, inputs="text", outputs="html", examples=[["This movie was the best movie I have ever seen! some scenes were ridiculous, but acting was great"], ["I really didn't like this movie. Some of the actors were good, but overall the movie was boring"]])
194
  iface.launch()