Update index.py
Browse files
index.py
CHANGED
@@ -66,7 +66,7 @@ def submit_response():
|
|
66 |
response.raise_for_status()
|
67 |
data = response.json()
|
68 |
print("API Response:", data)
|
69 |
-
if data.get("message") == "Registration complete!"
|
70 |
st.session_state.summary = data["summary"]
|
71 |
st.session_state.current_question = ""
|
72 |
st.session_state.feedback = "Registration complete!"
|
|
|
66 |
response.raise_for_status()
|
67 |
data = response.json()
|
68 |
print("API Response:", data)
|
69 |
+
if data.get("message") == "Registration complete!":
|
70 |
st.session_state.summary = data["summary"]
|
71 |
st.session_state.current_question = ""
|
72 |
st.session_state.feedback = "Registration complete!"
|