Upload app.py
Browse files
app.py
CHANGED
@@ -1,3 +1,4 @@
|
|
|
|
1 |
import requests
|
2 |
import json
|
3 |
import os
|
@@ -355,8 +356,6 @@ def process_pdf_urls(urls_text: str, manual_abstract: str = "") -> str:
|
|
355 |
|
356 |
# Gradio界面
|
357 |
with gr.Blocks(title="PDF資料處理器", theme=gr.themes.Soft()) as demo:
|
358 |
-
gr.Markdown("# PDF論文資料自動處理系統")
|
359 |
-
|
360 |
with gr.Tabs():
|
361 |
# JSON處理標籤頁
|
362 |
with gr.TabItem("JSON資料處理"):
|
|
|
1 |
+
import gradio as gr
|
2 |
import requests
|
3 |
import json
|
4 |
import os
|
|
|
356 |
|
357 |
# Gradio界面
|
358 |
with gr.Blocks(title="PDF資料處理器", theme=gr.themes.Soft()) as demo:
|
|
|
|
|
359 |
with gr.Tabs():
|
360 |
# JSON處理標籤頁
|
361 |
with gr.TabItem("JSON資料處理"):
|