Update app.py
Browse files
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
|
| 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 |
)
|