Spaces:
Running
Running
Commit
·
302bd37
1
Parent(s):
88ef69d
add requiretment
Browse files
app.py
CHANGED
@@ -20,10 +20,10 @@ def greet(name1, name2, name3, name4, name5):
|
|
20 |
# output_string1, error_string1= run_command("pip install optogpt")
|
21 |
# run_command("curl -sSL https://install.python-poetry.org | python3 -")
|
22 |
# output_string2, error_string2= run_command(f"poetry run runoak set-apikey -e openai {str1}")
|
23 |
-
run_command("ontogpt")
|
24 |
|
25 |
# For the purpose of this example, I'm just returning the values concatenated
|
26 |
-
return f"Inputs received: {str1}, {str2}, {str3}, {str4}, {str5}, {output_string1},{error_string1}
|
27 |
|
28 |
# Define 5 text input boxes with labels
|
29 |
input_boxes = [
|
|
|
20 |
# output_string1, error_string1= run_command("pip install optogpt")
|
21 |
# run_command("curl -sSL https://install.python-poetry.org | python3 -")
|
22 |
# output_string2, error_string2= run_command(f"poetry run runoak set-apikey -e openai {str1}")
|
23 |
+
output_string1, error_string1=run_command("ontogpt")
|
24 |
|
25 |
# For the purpose of this example, I'm just returning the values concatenated
|
26 |
+
return f"Inputs received: {str1}, {str2}, {str3}, {str4}, {str5}, {output_string1},{error_string1}"
|
27 |
|
28 |
# Define 5 text input boxes with labels
|
29 |
input_boxes = [
|