Spaces:
Build error
Build error
Update app.py
Browse files
app.py
CHANGED
|
@@ -11,7 +11,7 @@ warnings.filterwarnings('ignore')
|
|
| 11 |
import os
|
| 12 |
|
| 13 |
openai_api_key = os.getenv("OPENAI_API_KEY")
|
| 14 |
-
job_id = os.getenv('
|
| 15 |
user = os.getenv('USERNAME')
|
| 16 |
password = os.getenv('PASSWORD')
|
| 17 |
host = os.getenv('HOST')
|
|
@@ -109,7 +109,7 @@ if st.button("Submit"):
|
|
| 109 |
for source in sources:
|
| 110 |
st.write('Used Tool: ',source.tool_name)
|
| 111 |
if source.tool_name =='query_generator':
|
| 112 |
-
st.write(source.raw_output)
|
| 113 |
# os_response = implement_query(source.raw_output.content)
|
| 114 |
# st.subheader('OS Response')
|
| 115 |
# st.write(os_response)
|
|
|
|
| 11 |
import os
|
| 12 |
|
| 13 |
openai_api_key = os.getenv("OPENAI_API_KEY")
|
| 14 |
+
job_id = os.getenv('job_id')
|
| 15 |
user = os.getenv('USERNAME')
|
| 16 |
password = os.getenv('PASSWORD')
|
| 17 |
host = os.getenv('HOST')
|
|
|
|
| 109 |
for source in sources:
|
| 110 |
st.write('Used Tool: ',source.tool_name)
|
| 111 |
if source.tool_name =='query_generator':
|
| 112 |
+
st.write(source.raw_output.content)
|
| 113 |
# os_response = implement_query(source.raw_output.content)
|
| 114 |
# st.subheader('OS Response')
|
| 115 |
# st.write(os_response)
|