Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -29,9 +29,11 @@ def print_healthsheet(healthsheet_dict):
|
|
29 |
healthsheet = ""
|
30 |
for header in healthsheet_dict:
|
31 |
healthsheet += f"# {header}\n\n"
|
32 |
-
for var_name in
|
33 |
-
|
34 |
-
|
|
|
|
|
35 |
return healthsheet
|
36 |
|
37 |
def update_healthsheet(healthsheet_dict, header, var_name, answer):
|
|
|
29 |
healthsheet = ""
|
30 |
for header in healthsheet_dict:
|
31 |
healthsheet += f"# {header}\n\n"
|
32 |
+
for var_name in healthsheet_dict[header]:
|
33 |
+
question = var_name['question']
|
34 |
+
answer = var_name['answer']
|
35 |
+
healthsheet += f"## {question}\n\n"
|
36 |
+
healthsheet += f"## {answer}\n\n"
|
37 |
return healthsheet
|
38 |
|
39 |
def update_healthsheet(healthsheet_dict, header, var_name, answer):
|