awacke1 commited on
Commit
0fd5427
1 Parent(s): eacd8db

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +4 -1
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
- StreamLLMChatResponse('Create markdown outline for definition of topic ' + label + ' also short quiz with appropriate emojis and definitions for: ' + content)
 
 
 
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):