jayebaku commited on
Commit
b849a22
·
verified ·
1 Parent(s): e5bb033

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +10 -10
app.py CHANGED
@@ -204,18 +204,18 @@ with gr.Blocks(fill_width=True) as demo:
204
 
205
 
206
  with gr.Tab("Event Type Classification"):
 
 
 
 
 
 
 
 
 
 
207
  with gr.Row():
208
  with gr.Column(scale=4):
209
- gr.Markdown(
210
- """
211
- # T4.5 Relevance Classifier Demo
212
- This is a demo created to explore floods and wildfire classification in social media posts.\n
213
- Usage:\n
214
- - Upload .tsv or .csv data file (must contain a text column with social media posts).\n
215
- - Next, type the name of the text column.\n
216
- - Then, choose a BERT classifier model from the drop down.\n
217
- - Finally, click the 'start prediction' buttton.\n
218
- """)
219
  T_file_input = gr.File(label="Upload CSV or TSV File", file_types=['.tsv', '.csv'])
220
  T_text_field = gr.Textbox(label="Text field name", value="tweet_text")
221
  T_event_model = gr.Dropdown(event_models, value=event_models[0], label="Select classification model")
 
204
 
205
 
206
  with gr.Tab("Event Type Classification"):
207
+ gr.Markdown(
208
+ """
209
+ # T4.5 Relevance Classifier Demo
210
+ This is a demo created to explore floods and wildfire classification in social media posts.\n
211
+ Usage:\n
212
+ - Upload .tsv or .csv data file (must contain a text column with social media posts).\n
213
+ - Next, type the name of the text column.\n
214
+ - Then, choose a BERT classifier model from the drop down.\n
215
+ - Finally, click the 'start prediction' buttton.\n
216
+ """)
217
  with gr.Row():
218
  with gr.Column(scale=4):
 
 
 
 
 
 
 
 
 
 
219
  T_file_input = gr.File(label="Upload CSV or TSV File", file_types=['.tsv', '.csv'])
220
  T_text_field = gr.Textbox(label="Text field name", value="tweet_text")
221
  T_event_model = gr.Dropdown(event_models, value=event_models[0], label="Select classification model")