Vish2005 commited on
Commit
923a604
1 Parent(s): 0c578c3

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -2
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"], capture_output=True, text=True)
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