Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -30,8 +30,9 @@ def run_analysis(datasets, machines):
|
|
| 30 |
f.write("\n\n")
|
| 31 |
|
| 32 |
# Call the SCC script and return computing status
|
| 33 |
-
result = subprocess.run(["run_on_scc.sh"],
|
| 34 |
-
|
|
|
|
| 35 |
return "Computing..."
|
| 36 |
|
| 37 |
# Function to update the summary textbox
|
|
|
|
| 30 |
f.write("\n\n")
|
| 31 |
|
| 32 |
# Call the SCC script and return computing status
|
| 33 |
+
result = subprocess.run(["ssh", "-i", "~/.ssh/gradio_key", "vjain25@scc1.bu.edu", "bash", "run_on_scc.sh"],
|
| 34 |
+
capture_output=True,
|
| 35 |
+
text=True)
|
| 36 |
return "Computing..."
|
| 37 |
|
| 38 |
# Function to update the summary textbox
|