ThomasSimonini HF staff commited on
Commit
844c3ac
·
1 Parent(s): 49dd412

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -3
app.py CHANGED
@@ -25,8 +25,8 @@ def get_metadata(model_id):
25
  except requests.exceptions.HTTPError:
26
  return None
27
 
28
- agent1 = gr.Interface(load_agent_video, "text", "playable_video")
29
- agent2 = gr.Interface(load_agent_video, "text", "playable_video")
30
 
31
- gr.Parallel(agent1, agent2)
32
 
 
25
  except requests.exceptions.HTTPError:
26
  return None
27
 
28
+ agent1 = gr.Interface(load_agent_video, "text", "video")
29
+ agent2 = gr.Interface(load_agent_video, "text", "video")
30
 
31
+ gr.Parallel(agent1, agent2).launch(share=True)
32