Osama Bashir Dabbousi
commited on
Commit
·
f5dd68d
1
Parent(s):
8e5cd5e
Added shareable link
Browse files
app.py
CHANGED
@@ -35,6 +35,10 @@ def run_analysis(datasets, machines):
|
|
35 |
# Should run bash script to move file with name filepath to SCC before
|
36 |
# calling "main.py filepath output_filepath" and ending by return output_filepath
|
37 |
# to the users directory
|
|
|
|
|
|
|
|
|
38 |
|
39 |
|
40 |
|
@@ -80,4 +84,4 @@ with gr.Blocks() as app:
|
|
80 |
machines.change(update_summary, [datasets, machines], summary)
|
81 |
|
82 |
# Launch the Gradio interface
|
83 |
-
app.launch()
|
|
|
35 |
# Should run bash script to move file with name filepath to SCC before
|
36 |
# calling "main.py filepath output_filepath" and ending by return output_filepath
|
37 |
# to the users directory
|
38 |
+
|
39 |
+
result = subprocess.run(["run_on_scc.sh"], capture_output=True, text=True)
|
40 |
+
|
41 |
+
return "Computing..."
|
42 |
|
43 |
|
44 |
|
|
|
84 |
machines.change(update_summary, [datasets, machines], summary)
|
85 |
|
86 |
# Launch the Gradio interface
|
87 |
+
app.launch(share=True)
|