Spaces:
Sleeping
Sleeping
Update app.py
Browse files
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
|
| 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}")
|