aquibmoin commited on
Commit
0d48bc0
·
verified ·
1 Parent(s): 4d1254b

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +8 -8
app.py CHANGED
@@ -301,7 +301,7 @@ def chatbot(user_input, context="", use_encoder=False, max_tokens=150, temperatu
301
  <button class="mapify-button">Create Mind Map on Mapify</button>
302
  </a>
303
  """
304
- return full_response, iframe_html, mapify_button_html, word_doc_path, exoplanet_data, extracted_table_df
305
 
306
  iface = gr.Interface(
307
  fn=chatbot,
@@ -316,14 +316,14 @@ iface = gr.Interface(
316
  gr.Slider(0.0, 1.0, value=0.0, step=0.1, label="Presence Penalty")
317
  ],
318
  outputs=[
319
- gr.Textbox(label="ExosAI finds..."),
320
- gr.HTML(label="Miro"),
321
- gr.HTML(label="Generate Mind Map on Mapify"),
322
- gr.File(label="Download SCDD", type="filepath"),
323
- gr.Dataframe(label="Exoplanet Data Table"),
324
- gr.Dataframe(label="Extracted Table from GPT-4 Response")
325
  ],
326
- title="ExosAI - NASA SMD SCDD AI Assistant [version-0.5a]",
327
  description="ExosAI is an AI-powered assistant for generating and visualising HWO Science Cases",
328
  )
329
 
 
301
  <button class="mapify-button">Create Mind Map on Mapify</button>
302
  </a>
303
  """
304
+ return full_response, extracted_table_df, word_doc_path, exoplanet_data, miro_html, mapify_button_html
305
 
306
  iface = gr.Interface(
307
  fn=chatbot,
 
316
  gr.Slider(0.0, 1.0, value=0.0, step=0.1, label="Presence Penalty")
317
  ],
318
  outputs=[
319
+ gr.Textbox(label="ExosAI finds..."),
320
+ gr.Dataframe(label="SC Requirements Table"),
321
+ gr.File(label="Download SCDD", type="filepath"),
322
+ gr.Dataframe(label="Exoplanet Data Table"),
323
+ gr.HTML(label="Miro"),
324
+ gr.HTML(label="Generate Mind Map on Mapify")
325
  ],
326
+ title="ExosAI - NASA SMD SCDD AI Assistant [version-0.6a]",
327
  description="ExosAI is an AI-powered assistant for generating and visualising HWO Science Cases",
328
  )
329