fffiloni commited on
Commit
a08ff0e
1 Parent(s): e93d206

added a manual example

Browse files
Files changed (1) hide show
  1. app.py +22 -0
app.py CHANGED
@@ -324,6 +324,28 @@ with gr.Blocks(css=css) as demo:
324
 
325
  submit_btn = gr.Button("Submit")
326
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
327
  with gr.Tab("Auto"):
328
  with gr.Column():
329
  project_name_2 = gr.Textbox(label="Name your project", info="no spaces nor special characters", value="my-new-project")
 
324
 
325
  submit_btn = gr.Button("Submit")
326
 
327
+ gr.Examples(
328
+ examples = [
329
+ [
330
+ [
331
+ "hf-examples/manual/00000.jpg",
332
+ "hf-examples/manual/00001.jpg",
333
+ "hf-examples/manual/00002.jpg"
334
+ ],
335
+ [
336
+ "hf-examples/manual/00000.png",
337
+ "hf-examples/manual/00001.png",
338
+ "hf-examples/manual/00002.png"
339
+ ],
340
+ "manual_example"
341
+ ]
342
+ ],
343
+ fn = infer,
344
+ inputs=[video_frames, masks_frames, project_name],
345
+ #outputs=[res_masked, res_files]
346
+ )
347
+
348
+
349
  with gr.Tab("Auto"):
350
  with gr.Column():
351
  project_name_2 = gr.Textbox(label="Name your project", info="no spaces nor special characters", value="my-new-project")