Ani14 commited on
Commit
5c1e1ad
·
verified ·
1 Parent(s): 83d8666

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -203,7 +203,7 @@ APA Citations:
203
  output_placeholder = st.empty()
204
  full_output = ""
205
  for chunk in call_llm([{"role": "user", "content": prompt}]):
206
- full_output = chunk
207
  output_placeholder.markdown(full_output, unsafe_allow_html=True)
208
 
209
  if report_type == "Thorough Academic Research":
@@ -223,4 +223,4 @@ APA Citations:
223
  st.success("✅ No major overlaps found.")
224
 
225
  except Exception as e:
226
- st.error(f"❌ Error occurred: {e}")
 
203
  output_placeholder = st.empty()
204
  full_output = ""
205
  for chunk in call_llm([{"role": "user", "content": prompt}]):
206
+ full_output += chunk
207
  output_placeholder.markdown(full_output, unsafe_allow_html=True)
208
 
209
  if report_type == "Thorough Academic Research":
 
223
  st.success("✅ No major overlaps found.")
224
 
225
  except Exception as e:
226
+ st.error(f"❌ Error occurred: {e}")