Spaces:
Sleeping
Sleeping
# 当输入网页链接时触发
Browse files
app.py
CHANGED
@@ -941,13 +941,6 @@ with gr.Blocks() as demo:
|
|
941 |
)
|
942 |
|
943 |
# 当输入网页链接时触发
|
944 |
-
web_link.change(process_web_link, inputs=web_link, outputs=[btn_1, btn_2, btn_3, df_summarise, df_string_output])
|
945 |
-
|
946 |
-
|
947 |
-
if TRANSCRIPTS: # 确保列表不为空
|
948 |
-
first_screenshot_path, first_text = update_slide(0)
|
949 |
-
image.update(value=first_screenshot_path)
|
950 |
-
text.update(value=first_text)
|
951 |
-
|
952 |
|
953 |
demo.launch(allowed_paths=["videos"])
|
|
|
941 |
)
|
942 |
|
943 |
# 当输入网页链接时触发
|
944 |
+
# web_link.change(process_web_link, inputs=web_link, outputs=[btn_1, btn_2, btn_3, df_summarise, df_string_output])
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
945 |
|
946 |
demo.launch(allowed_paths=["videos"])
|