Matyáš Boháček commited on
Commit
25cbc9c
1 Parent(s): b2bf79b
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -106,7 +106,7 @@ def greet(label, video0, video1):
106
  return results
107
 
108
 
109
- label = gr.outputs.Label(num_top_classes=5, label="Top class probabilities")
110
  demo = gr.Interface(fn=greet, inputs=[gr.Dropdown(["Webcam", "Video"], label="Please select the input type:", type="value"), gr.Video(source="webcam", label="Webcam recording", type="mp4"), gr.Video(source="upload", label="Video upload", type="mp4")], outputs=label,
111
  title="SPOTER Sign language recognition",
112
  description="",
 
106
  return results
107
 
108
 
109
+ label = gr.outputs.Label(num_top_classes=3, label="Top class probabilities")
110
  demo = gr.Interface(fn=greet, inputs=[gr.Dropdown(["Webcam", "Video"], label="Please select the input type:", type="value"), gr.Video(source="webcam", label="Webcam recording", type="mp4"), gr.Video(source="upload", label="Video upload", type="mp4")], outputs=label,
111
  title="SPOTER Sign language recognition",
112
  description="",