Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -130,9 +130,11 @@ def main():
|
|
130 |
diabetes_code_lookup('E11.9')
|
131 |
|
132 |
# Display each question and an input text field for the answer
|
|
|
133 |
for question in questions:
|
|
|
134 |
st.markdown(question["question"])
|
135 |
-
answer = st.text_input("Your Answer:")
|
136 |
|
137 |
if __name__ == "__main__":
|
138 |
main()
|
|
|
130 |
diabetes_code_lookup('E11.9')
|
131 |
|
132 |
# Display each question and an input text field for the answer
|
133 |
+
keycount=0
|
134 |
for question in questions:
|
135 |
+
keycount+=1
|
136 |
st.markdown(question["question"])
|
137 |
+
answer = st.text_input("Your Answer:". key=str(keycount))
|
138 |
|
139 |
if __name__ == "__main__":
|
140 |
main()
|