Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -191,7 +191,7 @@ def decide(issue_id):
|
|
| 191 |
st.write(f"- {solution.content}")
|
| 192 |
|
| 193 |
if st.button("Get AI Decision"):
|
| 194 |
-
openai.api_key = st.write(st.secrets["openai"])
|
| 195 |
prompt = f"Given the following solutions for the issue '{issue.title}', which one is the most socio-democratic decision?\n"
|
| 196 |
for solution in solutions:
|
| 197 |
prompt += f"- {solution.content}\n"
|
|
|
|
| 191 |
st.write(f"- {solution.content}")
|
| 192 |
|
| 193 |
if st.button("Get AI Decision"):
|
| 194 |
+
openai.api_key = "st.write(st.secrets["openai"])"
|
| 195 |
prompt = f"Given the following solutions for the issue '{issue.title}', which one is the most socio-democratic decision?\n"
|
| 196 |
for solution in solutions:
|
| 197 |
prompt += f"- {solution.content}\n"
|