Spaces:
Running
Running
Commit
·
3fc37d0
1
Parent(s):
4ef7d1e
Add application files
Browse files
app.py
CHANGED
@@ -22,13 +22,13 @@ def greet(name1, name2):
|
|
22 |
with open('abstractsave.txt', 'w') as f:
|
23 |
f.write(name4)
|
24 |
|
25 |
-
|
26 |
-
|
27 |
|
28 |
-
|
29 |
-
|
30 |
|
31 |
-
|
32 |
|
33 |
###### output_string1, error_string1= run_command("pip install optogpt")
|
34 |
# output_string1, error_string1 = run_command("curl -sSL https://install.python-poetry.org | python3 -")
|
|
|
22 |
with open('abstractsave.txt', 'w') as f:
|
23 |
f.write(name4)
|
24 |
|
25 |
+
# def run_command(command):
|
26 |
+
# result = subprocess.run(command, shell=True, stdout=subprocess.PIPE, stderr=subprocess.PIPE, text=True)
|
27 |
|
28 |
+
# output_string = result.stdout
|
29 |
+
# error_string = result.stderr
|
30 |
|
31 |
+
# return output_string, error_string
|
32 |
|
33 |
###### output_string1, error_string1= run_command("pip install optogpt")
|
34 |
# output_string1, error_string1 = run_command("curl -sSL https://install.python-poetry.org | python3 -")
|