kdevoe commited on
Commit
20c7121
·
verified ·
1 Parent(s): 3a79ec1

Removing time limit for stream and reducing frequency to 0.5 seconds for less flashing of the graph

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -80,6 +80,6 @@ with gr.Blocks(css=css) as demo:
80
  predicted_label, fig = predict_asl(frame)
81
  return predicted_label, fig
82
 
83
- input_img.stream(gradio_pipeline, [input_img], [output_label, output_plot], time_limit=30, stream_every=0.1)
84
 
85
  demo.launch()
 
80
  predicted_label, fig = predict_asl(frame)
81
  return predicted_label, fig
82
 
83
+ input_img.stream(gradio_pipeline, [input_img], [output_label, output_plot], stream_every=0.5)
84
 
85
  demo.launch()