Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -498,7 +498,7 @@ def chatbot(user_input, science_objectives="", context="", subdomain="", use_enc
|
|
498 |
return full_response, extracted_table_df, word_doc_path, iframe_html, mapify_button_html
|
499 |
|
500 |
with gr.Blocks() as demo:
|
501 |
-
gr.Markdown("# ExosAI - NASA SMD SCDD Generator
|
502 |
|
503 |
# User Inputs
|
504 |
user_input = gr.Textbox(lines=5, placeholder="Enter your Science Goal...", label="Science Goal")
|
@@ -506,6 +506,7 @@ with gr.Blocks() as demo:
|
|
506 |
subdomain = gr.Textbox(lines=2, placeholder="Define your Subdomain...", label="Subdomain Definition")
|
507 |
|
508 |
# PDF Upload Section (Up to 3 PDFs)
|
|
|
509 |
uploaded_pdfs = gr.Files(file_types=[".pdf"], label="Upload Reference PDFs (Up to 3)", interactive=True)
|
510 |
|
511 |
# Science Objectives Button & Input (Initially Hidden)
|
|
|
498 |
return full_response, extracted_table_df, word_doc_path, iframe_html, mapify_button_html
|
499 |
|
500 |
with gr.Blocks() as demo:
|
501 |
+
gr.Markdown("# ExosAI - NASA SMD FC-RAG SCDD Generator [version-1.1]")
|
502 |
|
503 |
# User Inputs
|
504 |
user_input = gr.Textbox(lines=5, placeholder="Enter your Science Goal...", label="Science Goal")
|
|
|
506 |
subdomain = gr.Textbox(lines=2, placeholder="Define your Subdomain...", label="Subdomain Definition")
|
507 |
|
508 |
# PDF Upload Section (Up to 3 PDFs)
|
509 |
+
gr.Markdown("- Context Retrieval Documents [e.g. LUVOIR, HabEx Reports]")
|
510 |
uploaded_pdfs = gr.Files(file_types=[".pdf"], label="Upload Reference PDFs (Up to 3)", interactive=True)
|
511 |
|
512 |
# Science Objectives Button & Input (Initially Hidden)
|