Spaces:
Running
Running
Commit
·
97ee9af
1
Parent(s):
ea38145
Add application files
Browse files
app.py
CHANGED
@@ -31,10 +31,10 @@ def greet(name1, name2):
|
|
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 -")
|
35 |
-
|
36 |
-
|
37 |
-
|
38 |
# output = run_command(f"ontogpt extract -t gocam.GoCamAnnotations -i ./abstract.txt")
|
39 |
# output = run_command(f"cancerontogpt extract -t cancer.CancerAnnotations -i ./abstractsave.txt")"""
|
40 |
|
|
|
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 -")
|
35 |
+
# output_string2, error_string2= run_command(f"poetry run runoak set-apikey -e openai {str1}")
|
36 |
+
# run_command(f"poetry run runoak set-apikey -e bioportal {str2}")
|
37 |
+
# run_command(f"poetry run runoak set-apikey -e hfhub-key {str3}")
|
38 |
# output = run_command(f"ontogpt extract -t gocam.GoCamAnnotations -i ./abstract.txt")
|
39 |
# output = run_command(f"cancerontogpt extract -t cancer.CancerAnnotations -i ./abstractsave.txt")"""
|
40 |
|