interval prediction
#14
by
80cols
- opened
app.py
CHANGED
@@ -282,9 +282,11 @@ with demo:
|
|
282 |
prediction_output = gr.Textbox(
|
283 |
label="Prediction", max_lines=1, interactive=False
|
284 |
)
|
|
|
|
|
285 |
get_output_button.click(
|
286 |
decrypt_prediction,
|
287 |
-
outputs=[prediction_output, get_output_button],
|
288 |
)
|
289 |
|
290 |
|
|
|
282 |
prediction_output = gr.Textbox(
|
283 |
label="Prediction", max_lines=1, interactive=False
|
284 |
)
|
285 |
+
prediction_bar = gr.HTML(label="Prediction Bar") # For the percentage bar
|
286 |
+
|
287 |
get_output_button.click(
|
288 |
decrypt_prediction,
|
289 |
+
outputs=[prediction_output, get_output_button, prediction_bar],
|
290 |
)
|
291 |
|
292 |
|