Spaces:
Runtime error
Runtime error
cheetah003
commited on
Commit
•
61f2d16
1
Parent(s):
6868abf
update video index
Browse files
app.py
CHANGED
@@ -258,7 +258,7 @@ def search_demo():
|
|
258 |
with gr.Column(variant="panel", scale=1):
|
259 |
with gr.Row(variant="compact"):
|
260 |
videos_rest = [gr.Video(
|
261 |
-
format="mp4", label="视频 "+str(i),
|
262 |
).style(height=150, width=150) for i in range(3, show_num)]
|
263 |
|
264 |
searched_videos = videos_top + videos_rest
|
@@ -297,5 +297,5 @@ def search_demo():
|
|
297 |
if __name__ == '__main__':
|
298 |
search_demo()
|
299 |
# text = "两个男人正在随着音乐跳舞,他们正在努力做着macarena舞蹈的动作。"
|
300 |
-
|
301 |
# t2v_search(text)
|
|
|
258 |
with gr.Column(variant="panel", scale=1):
|
259 |
with gr.Row(variant="compact"):
|
260 |
videos_rest = [gr.Video(
|
261 |
+
format="mp4", label="视频 "+str(i+1),
|
262 |
).style(height=150, width=150) for i in range(3, show_num)]
|
263 |
|
264 |
searched_videos = videos_top + videos_rest
|
|
|
297 |
if __name__ == '__main__':
|
298 |
search_demo()
|
299 |
# text = "两个男人正在随着音乐跳舞,他们正在努力做着macarena舞蹈的动作。"
|
300 |
+
|
301 |
# t2v_search(text)
|