Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -220,12 +220,13 @@ with gr.Blocks(fill_width=True) as demo:
|
|
| 220 |
info="This value sets a threshold by which texts classified flood or fire are accepted, \
|
| 221 |
higher values makes the classifier stricter (CAUTION: A value of 1 will set all predictions as none)", interactive=True)
|
| 222 |
T_predict_button = gr.Button("Start Prediction")
|
| 223 |
-
|
|
|
|
| 224 |
with gr.Group():
|
| 225 |
with gr.Row():
|
| 226 |
with gr.Column(scale=4):
|
| 227 |
T_data_filter = gr.Dropdown(visible=False)
|
| 228 |
-
T_tweet_embed = gr.HTML(
|
| 229 |
|
| 230 |
with gr.Column(scale=6):
|
| 231 |
T_data = gr.DataFrame(headers=["Texts", "event_label", "model_score", "IDs"],
|
|
|
|
| 220 |
info="This value sets a threshold by which texts classified flood or fire are accepted, \
|
| 221 |
higher values makes the classifier stricter (CAUTION: A value of 1 will set all predictions as none)", interactive=True)
|
| 222 |
T_predict_button = gr.Button("Start Prediction")
|
| 223 |
+
|
| 224 |
+
gr.Markdown("""Select an ID cell in dataframe to view Embedded tweet""")
|
| 225 |
with gr.Group():
|
| 226 |
with gr.Row():
|
| 227 |
with gr.Column(scale=4):
|
| 228 |
T_data_filter = gr.Dropdown(visible=False)
|
| 229 |
+
T_tweet_embed = gr.HTML()
|
| 230 |
|
| 231 |
with gr.Column(scale=6):
|
| 232 |
T_data = gr.DataFrame(headers=["Texts", "event_label", "model_score", "IDs"],
|