NealCaren commited on
Commit
6f7f73d
·
verified ·
1 Parent(s): 955deed

More style

Browse files
Files changed (1) hide show
  1. app.py +1 -2
app.py CHANGED
@@ -153,7 +153,7 @@ def generate_literature_review(thesis, style_notes, api_key, progress=gr.Progres
153
  ref_count = len(final_cites.split('\n'))
154
 
155
  progress(0.8, desc=f"Generating final draft from {ref_count} sources...")
156
- draft = section_drafter(thesis, combo_context, outline, client)
157
  output.append(draft)
158
  output.append("\n## Sources\n" + final_cites)
159
  progress(1.0, desc="Complete!")
@@ -162,7 +162,6 @@ def generate_literature_review(thesis, style_notes, api_key, progress=gr.Progres
162
  def create_interface():
163
  with gr.Blocks() as app:
164
  gr.Markdown("# Literature Review Writer")
165
- style_notes
166
  with gr.Row():
167
  with gr.Column(scale=1):
168
  thesis_input = gr.Textbox(
 
153
  ref_count = len(final_cites.split('\n'))
154
 
155
  progress(0.8, desc=f"Generating final draft from {ref_count} sources...")
156
+ draft = section_drafter(thesis, combo_context, style_notes, client)
157
  output.append(draft)
158
  output.append("\n## Sources\n" + final_cites)
159
  progress(1.0, desc="Complete!")
 
162
  def create_interface():
163
  with gr.Blocks() as app:
164
  gr.Markdown("# Literature Review Writer")
 
165
  with gr.Row():
166
  with gr.Column(scale=1):
167
  thesis_input = gr.Textbox(