Thomas Simonini commited on
Commit
49dd412
1 Parent(s): 92913ed

Adding Parallel interface

Browse files
Files changed (2) hide show
  1. __pycache__/app.cpython-38.pyc +0 -0
  2. app.py +2 -2
__pycache__/app.cpython-38.pyc CHANGED
Binary files a/__pycache__/app.cpython-38.pyc and b/__pycache__/app.cpython-38.pyc differ
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("text", load_agent_video(input), gr.Video(), "playable_video")
29
- agent2 = gr.Interface("text", load_agent_video(input), gr.Video(), "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", "playable_video")
29
+ agent2 = gr.Interface(load_agent_video, "text", "playable_video")
30
 
31
  gr.Parallel(agent1, agent2)
32