Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -230,8 +230,8 @@ with gr.Blocks(fill_width=True) as demo:
|
|
| 230 |
higher values makes the classifier stricter (CAUTION: A value of 1 will set all predictions as none)", interactive=True)
|
| 231 |
T_predict_button = gr.Button("Start Prediction")
|
| 232 |
|
| 233 |
-
|
| 234 |
-
|
| 235 |
|
| 236 |
gr.Markdown("""Select an ID cell in dataframe to view Embedded tweet""")
|
| 237 |
T_tweetID = gr.Textbox(visible=False)
|
|
|
|
| 230 |
higher values makes the classifier stricter (CAUTION: A value of 1 will set all predictions as none)", interactive=True)
|
| 231 |
T_predict_button = gr.Button("Start Prediction")
|
| 232 |
|
| 233 |
+
T_examples = gr.Examples([["./samples.tsv", "tweet_content", "jayebaku/XLMRoberta-twitter-crexdata-flood-wildfire-detector", 0.00]],
|
| 234 |
+
inputs=[T_file_input, T_text_field, T_event_model, T_threshold])
|
| 235 |
|
| 236 |
gr.Markdown("""Select an ID cell in dataframe to view Embedded tweet""")
|
| 237 |
T_tweetID = gr.Textbox(visible=False)
|