sultan-hassan commited on
Commit
7249ba0
·
verified ·
1 Parent(s): bc9cc96

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -55,8 +55,8 @@ def launch(message):
55
  return chat.send_message(message) + "\n\n##### History #####\n\n" + chat.get_history()
56
 
57
  iface = gr.Interface(launch,
58
- inputs=["text",gr.State()],
59
- outputs=["text",gr.State()],
60
  css=css,
61
  title="Hey I am CosmoGemma 👋 I can answer cosmology questions from astroph.CO research articles. Try me :)",
62
  description="Gemma_2b_en fine-tuned on QA pairs (~3.5k) generated from Cosmology and Nongalactic Astrophysics articles (arXiv astro-ph.CO) from 2018-2022 and tested on QA pairs (~1k) generated from 2023 articles, scoring over 75% accuracy.")
 
55
  return chat.send_message(message) + "\n\n##### History #####\n\n" + chat.get_history()
56
 
57
  iface = gr.Interface(launch,
58
+ inputs=["textbox",gr.State(value=[])],
59
+ outputs=["textbox",gr.State(value=[])],
60
  css=css,
61
  title="Hey I am CosmoGemma 👋 I can answer cosmology questions from astroph.CO research articles. Try me :)",
62
  description="Gemma_2b_en fine-tuned on QA pairs (~3.5k) generated from Cosmology and Nongalactic Astrophysics articles (arXiv astro-ph.CO) from 2018-2022 and tested on QA pairs (~1k) generated from 2023 articles, scoring over 75% accuracy.")