dseditor commited on
Commit
d5fdc94
·
verified ·
1 Parent(s): 67a3b73

Upload app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -13
app.py CHANGED
@@ -354,19 +354,7 @@ def process_pdf_urls(urls_text: str, manual_abstract: str = "") -> str:
354
  return f"處理錯誤: {str(e)}"
355
 
356
  # Gradio界面
357
- with gr.Blocks(title="PDF資料處理器", theme=gr.themes.Soft()) as demo:
358
- gr.Markdown("""
359
- # PDF論文資料自動處理系統
360
-
361
- 此系統可以:
362
- 1. 從JSON中讀取論文資訊並補充缺失欄位
363
- 2. 直接處理PDF網址列表
364
- 3. 自動下載PDF文件並提取內容
365
- 4. 提取標題、作者、摘要等資訊
366
- 5. 生成完整的JSON資料
367
- 6. 保存處理後的文件
368
- """)
369
-
370
  with gr.Tabs():
371
  # JSON處理標籤頁
372
  with gr.TabItem("JSON資料處理"):
 
354
  return f"處理錯誤: {str(e)}"
355
 
356
  # Gradio界面
357
+ with gr.Blocks(title="PDF資料處理器", theme=gr.themes.Soft()) as demo:
 
 
 
 
 
 
 
 
 
 
 
 
358
  with gr.Tabs():
359
  # JSON處理標籤頁
360
  with gr.TabItem("JSON資料處理"):