GirishKiran commited on
Commit
6bc975a
1 Parent(s): 00bef60

Fix gradio

Browse files
Files changed (1) hide show
  1. app.py +2 -3
app.py CHANGED
@@ -272,11 +272,10 @@ exp = [
272
  ]
273
  arti= "<b>DistilBERT is 27 times faster than OpenAI, making it the clear winner for speed-sensitive applications.</b>\n\nWe did a comparision of OpenAI vs DestilBert model (which we are currently using in this space) by running 31 sentences in a loop and found DestilBert is 27 times faster than OpenAI."
274
 
275
- with gradio.Interface(fn=predict_sentiment,
276
  inputs=in_box,
277
  outputs=out_box,
278
  title=title,
279
  description=desc,
280
  examples=exp,
281
- article=arti) as demo:
282
- demo.launch(debug=True)
 
272
  ]
273
  arti= "<b>DistilBERT is 27 times faster than OpenAI, making it the clear winner for speed-sensitive applications.</b>\n\nWe did a comparision of OpenAI vs DestilBert model (which we are currently using in this space) by running 31 sentences in a loop and found DestilBert is 27 times faster than OpenAI."
274
 
275
+ gradio.Interface(fn=predict_sentiment,
276
  inputs=in_box,
277
  outputs=out_box,
278
  title=title,
279
  description=desc,
280
  examples=exp,
281
+ article=arti).launch(debug=True)