jrichez commited on
Commit
3532024
1 Parent(s): 57dc994

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -1
app.py CHANGED
@@ -46,4 +46,5 @@ def tweets_predictions(text):
46
  dic['Disaster'] = pred[0]
47
  return dic
48
 
49
- interface = gr.Interface(fn=tweets_predictions, inputs='textbox', outputs='label', theme='darkdefault').launch(share=True)
 
 
46
  dic['Disaster'] = pred[0]
47
  return dic
48
 
49
+ interface = gr.Interface(fn=tweets_predictions, inputs='textbox', outputs='label', theme='darkdefault',
50
+ title='Tweets Disaster', description='Ecrire une phrase en anglais et cliquer sur "Submit". Le modèle retourne la probabilité que le message annonce une catastrophe').launch(share=True)