aiTOYAMA commited on
Commit
60881a4
·
verified ·
1 Parent(s): 7296719

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +5 -6
app.py CHANGED
@@ -194,7 +194,7 @@ with gr.Blocks(theme=gr.themes.Soft()) as app:
194
  gr.Markdown("*提案手法のアルゴリズム、理論、数式的な背景にフォーカスして詳しく解説します。*")
195
  q_method = gr.Textbox(
196
  label="📝 論文の手法に関する質問",
197
- placeholder="例:提案されているアルゴリズムの強みや数式ベースの背景は?",
198
  lines=2
199
  )
200
  btn_method = gr.Button("🚀 手法を解析する", variant="primary")
@@ -220,7 +220,7 @@ with gr.Blocks(theme=gr.themes.Soft()) as app:
220
  gr.Markdown("*実験環境、評価指標、データセットの規模、Baselineとの比較結果を深掘りします。*")
221
  q_exp = gr.Textbox(
222
  label="📝 論文の実験に関する質問",
223
- placeholder="例:使用されたデータセットや、Baselineと比べた精度向上幅は?",
224
  lines=2
225
  )
226
  btn_exp = gr.Button("🚀 実験を解析する", variant="primary")
@@ -246,9 +246,8 @@ with gr.Blocks(theme=gr.themes.Soft()) as app:
246
  gr.Markdown("*研究背景、目的、アプローチ、結果、今後の課題までを1つのプロットに要約します。*")
247
  q_summary = gr.Textbox(
248
  label="📝 要約の指示・フォーカスしたい点",
249
- placeholder="例:この論文全体の主要な貢献(Contribution)を3点に要約して。",
250
- lines=2,
251
- value="この論文の全体像(背景、目的、手法、結果、課題)を分かりやすく要約してください。"
252
  )
253
  btn_summary = gr.Button("🚀 要約を生成する", variant="primary")
254
  ans_summary = gr.Textbox(label="💡 AIの分析結果", lines=12, interactive=False)
@@ -269,7 +268,7 @@ with gr.Blocks(theme=gr.themes.Soft()) as app:
269
  )
270
 
271
  # --- タブ4: 表形式データ抽出 ---
272
- with gr.Tab("📈 表形式構造化"):
273
  gr.Markdown("*指定した条件に沿って、AIが論文内の数値を抽出し、構造化されたデータテーブルを出力します。*")
274
  q_table = gr.Textbox(
275
  label="📝 テーブル化したい項目・指示",
 
194
  gr.Markdown("*提案手法のアルゴリズム、理論、数式的な背景にフォーカスして詳しく解説します。*")
195
  q_method = gr.Textbox(
196
  label="📝 論文の手法に関する質問",
197
+ placeholder="例:提案されているアルゴリズムや数式の意味は?",
198
  lines=2
199
  )
200
  btn_method = gr.Button("🚀 手法を解析する", variant="primary")
 
220
  gr.Markdown("*実験環境、評価指標、データセットの規模、Baselineとの比較結果を深掘りします。*")
221
  q_exp = gr.Textbox(
222
  label="📝 論文の実験に関する質問",
223
+ placeholder="例:使用されたデータセットについてまとめてください。",
224
  lines=2
225
  )
226
  btn_exp = gr.Button("🚀 実験を解析する", variant="primary")
 
246
  gr.Markdown("*研究背景、目的、アプローチ、結果、今後の課題までを1つのプロットに要約します。*")
247
  q_summary = gr.Textbox(
248
  label="📝 要約の指示・フォーカスしたい点",
249
+ placeholder="例:この論文の全体像(背景、目的、手法、結果、課題)を分かりやすく要約してください。",
250
+ lines=2
 
251
  )
252
  btn_summary = gr.Button("🚀 要約を生成する", variant="primary")
253
  ans_summary = gr.Textbox(label="💡 AIの分析結果", lines=12, interactive=False)
 
268
  )
269
 
270
  # --- タブ4: 表形式データ抽出 ---
271
+ with gr.Tab("📈 表形式"):
272
  gr.Markdown("*指定した条件に沿って、AIが論文内の数値を抽出し、構造化されたデータテーブルを出力します。*")
273
  q_table = gr.Textbox(
274
  label="📝 テーブル化したい項目・指示",