Tenefix 80cols commited on
Commit
efa07cc
·
verified ·
1 Parent(s): f2eadfb

interval prediction (#14)

Browse files

- interval prediction (950c2ac1407557bc0cb0e5346c1195be8b0382fc)


Co-authored-by: Sandro Ferroni <[email protected]>

Files changed (1) hide show
  1. app.py +3 -1
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