Spaces:
Running
Running
Update app.py
Browse files
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,
|
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.
|
321 |
-
gr.
|
322 |
-
gr.
|
323 |
-
gr.
|
324 |
-
gr.
|
325 |
],
|
326 |
-
title="ExosAI - NASA SMD SCDD AI Assistant [version-0.
|
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 |
|