Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -204,7 +204,7 @@ def decide(issue_id):
|
|
204 |
st.write(f"- {solution.content}")
|
205 |
|
206 |
if st.button("Get AI Decision"):
|
207 |
-
openai.api_key = '
|
208 |
prompt = f"Given the following solutions for the issue '{issue.title}', which one is the most socio-democratic decision?\n"
|
209 |
for solution in solutions:
|
210 |
prompt += f"- {solution.content}\n"
|
|
|
204 |
st.write(f"- {solution.content}")
|
205 |
|
206 |
if st.button("Get AI Decision"):
|
207 |
+
openai.api_key = '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'
|
208 |
prompt = f"Given the following solutions for the issue '{issue.title}', which one is the most socio-democratic decision?\n"
|
209 |
for solution in solutions:
|
210 |
prompt += f"- {solution.content}\n"
|