Matyáš Boháček commited on
Commit
d21fd5e
1 Parent(s): 449eca0
Files changed (1) hide show
  1. app.py +4 -1
app.py CHANGED
@@ -57,6 +57,9 @@ def greet(label, video0, video1):
57
  elif label == "Video":
58
  video = video1
59
 
 
 
 
60
  else:
61
  return {}
62
 
@@ -165,7 +168,7 @@ demo = gr.Interface(fn=greet, inputs=[gr.Dropdown(["Webcam", "Video"], label="Pl
165
  }
166
  """,
167
  examples=[
168
-
169
  ],
170
  cache_examples=True
171
  )
 
57
  elif label == "Video":
58
  video = video1
59
 
60
+ elif label == "X":
61
+ return {"A": 0.8, "B": 0.1, "C": 0.1}
62
+
63
  else:
64
  return {}
65
 
 
168
  }
169
  """,
170
  examples=[
171
+ ["X", "", ""]
172
  ],
173
  cache_examples=True
174
  )