JaMugen commited on
Commit
060c816
·
1 Parent(s): f18af8b

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -67,12 +67,12 @@ drive = GoogleDrive(gauth)
67
  def display_videos(text):
68
  videos = display_text(text)
69
  print(videos[0])
70
- return videos[0]
71
 
72
  iface = gr.Interface(
73
  fn=display_videos,
74
  inputs="text",
75
- outputs=gr.Video(),
76
  title="Video Viewer",
77
  description="Enter text to fetch and display videos from Google Drive"
78
  )
 
67
  def display_videos(text):
68
  videos = display_text(text)
69
  print(videos[0])
70
+ return videos
71
 
72
  iface = gr.Interface(
73
  fn=display_videos,
74
  inputs="text",
75
+ outputs=(gr.Video(),gr.Video(),gr.Video(),gr.Video(),gr.Video()),
76
  title="Video Viewer",
77
  description="Enter text to fetch and display videos from Google Drive"
78
  )