Spaces:
Sleeping
Sleeping
Commit
·
86ecbdb
1
Parent(s):
2a2165d
Update app.py
Browse files
app.py
CHANGED
@@ -215,7 +215,7 @@ def download_from_tap(url, output_path):
|
|
215 |
print(f"An error occurred: {err}") # Handle other possible errors
|
216 |
|
217 |
def download_data(tap_url):
|
218 |
-
return f"[Download
|
219 |
|
220 |
# Main function to process all queries
|
221 |
def process_queries():
|
@@ -240,7 +240,7 @@ with gr.Blocks() as demo:
|
|
240 |
##make_query_complete_bt.click(fn=complete_query, inputs=the_query_output, outputs=[complete_query_output])
|
241 |
submit_btn.click(fn=talk_to_llm, inputs=user_prompt, outputs=[reasoning_output, the_query_output])
|
242 |
|
243 |
-
create_tap_url_bt = gr.Button("Create TAP URL
|
244 |
download_data_output = gr.Markdown()
|
245 |
create_tap_url_bt.click(fn=create_markdown_url_from_query, inputs=the_query_output,
|
246 |
outputs=[download_data_output])
|
|
|
215 |
print(f"An error occurred: {err}") # Handle other possible errors
|
216 |
|
217 |
def download_data(tap_url):
|
218 |
+
return f"[Run Query on GaiaDB and Download CSV Datafile <may need second click>]({tap_url})"
|
219 |
|
220 |
# Main function to process all queries
|
221 |
def process_queries():
|
|
|
240 |
##make_query_complete_bt.click(fn=complete_query, inputs=the_query_output, outputs=[complete_query_output])
|
241 |
submit_btn.click(fn=talk_to_llm, inputs=user_prompt, outputs=[reasoning_output, the_query_output])
|
242 |
|
243 |
+
create_tap_url_bt = gr.Button("Create TAP URL")
|
244 |
download_data_output = gr.Markdown()
|
245 |
create_tap_url_bt.click(fn=create_markdown_url_from_query, inputs=the_query_output,
|
246 |
outputs=[download_data_output])
|