Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -606,7 +606,10 @@ def add_medical_exam_buttons():
|
|
| 606 |
button_key = f"button_{idx}"
|
| 607 |
if st.button(label, key=button_key):
|
| 608 |
st.write(f"Running {label}")
|
| 609 |
-
|
|
|
|
|
|
|
|
|
|
| 610 |
|
| 611 |
def add_medical_exam_buttons2():
|
| 612 |
with st.expander("Medical Licensing Exam Topics 📚", expanded=False):
|
|
|
|
| 606 |
button_key = f"button_{idx}"
|
| 607 |
if st.button(label, key=button_key):
|
| 608 |
st.write(f"Running {label}")
|
| 609 |
+
input='Create markdown outline for definition of topic ' + label + ' also short quiz with appropriate emojis and definitions for: ' + content
|
| 610 |
+
response=StreamLLMChatResponse(input)
|
| 611 |
+
filename = generate_filename(response, 'txt')
|
| 612 |
+
create_file(filename, input, response, should_save)
|
| 613 |
|
| 614 |
def add_medical_exam_buttons2():
|
| 615 |
with st.expander("Medical Licensing Exam Topics 📚", expanded=False):
|