Ina-Shapiro commited on
Commit
932c864
·
1 Parent(s): 52efc05

Update example button labels in app.py to improve clarity and relevance of paper queries.

Browse files
Files changed (2) hide show
  1. __pycache__/app.cpython-313.pyc +0 -0
  2. app.py +2 -4
__pycache__/app.cpython-313.pyc CHANGED
Binary files a/__pycache__/app.cpython-313.pyc and b/__pycache__/app.cpython-313.pyc differ
 
app.py CHANGED
@@ -598,8 +598,7 @@ with gr.Blocks(
598
  gr.Markdown("### 💡 Examples")
599
  example_btn1 = gr.Button("What papers discuss AI's impact on employment?", size="sm")
600
  example_btn2 = gr.Button("Show me the full paper about AI companions", size="sm")
601
- example_btn3 = gr.Button("What's the conclusion of the pig disease detection paper?", size="sm")
602
- example_btn4 = gr.Button("Compare findings on AI in education", size="sm")
603
 
604
  # Event handlers
605
  msg.submit(
@@ -627,8 +626,7 @@ with gr.Blocks(
627
  # Example handlers
628
  example_btn1.click(lambda: "What papers discuss AI's impact on employment?", outputs=msg)
629
  example_btn2.click(lambda: "Show me the full paper about AI companions", outputs=msg)
630
- example_btn3.click(lambda: "What's the conclusion of the pig disease detection paper?", outputs=msg)
631
- example_btn4.click(lambda: "Compare findings on AI in education", outputs=msg)
632
 
633
  if __name__ == "__main__":
634
  if not os.getenv("OPENAI_API_KEY"):
 
598
  gr.Markdown("### 💡 Examples")
599
  example_btn1 = gr.Button("What papers discuss AI's impact on employment?", size="sm")
600
  example_btn2 = gr.Button("Show me the full paper about AI companions", size="sm")
601
+ example_btn3 = gr.Button("Compare findings on AI in education", size="sm")
 
602
 
603
  # Event handlers
604
  msg.submit(
 
626
  # Example handlers
627
  example_btn1.click(lambda: "What papers discuss AI's impact on employment?", outputs=msg)
628
  example_btn2.click(lambda: "Show me the full paper about AI companions", outputs=msg)
629
+ example_btn3.click(lambda: "Compare findings on AI in education", outputs=msg)
 
630
 
631
  if __name__ == "__main__":
632
  if not os.getenv("OPENAI_API_KEY"):