Spaces:
Running
Running
Update src/services/analysis.py
Browse files- src/services/analysis.py +2 -3
src/services/analysis.py
CHANGED
|
@@ -266,11 +266,10 @@ def crypto_analysis_v4(user_keys, user_id) -> None:
|
|
| 266 |
# Create PDF
|
| 267 |
pdf_path = convert_html_to_pdf(html_content, user_id)
|
| 268 |
|
| 269 |
-
print(" 🧹 Cleaning up source files after analysis...")
|
| 270 |
-
cleanup_after_analysis(spot_file, futures_file)
|
| 271 |
-
|
| 272 |
if pdf_path:
|
| 273 |
print(f" PDF saved: {pdf_path}")
|
|
|
|
|
|
|
| 274 |
print(" 📊 Analysis completed! Source files cleaned up.")
|
| 275 |
else:
|
| 276 |
print(" PDF conversion failed! Check API Key")
|
|
|
|
| 266 |
# Create PDF
|
| 267 |
pdf_path = convert_html_to_pdf(html_content, user_id)
|
| 268 |
|
|
|
|
|
|
|
|
|
|
| 269 |
if pdf_path:
|
| 270 |
print(f" PDF saved: {pdf_path}")
|
| 271 |
+
print(" 🧹 Cleaning up source files after analysis...")
|
| 272 |
+
cleanup_after_analysis(spot_file, futures_file)
|
| 273 |
print(" 📊 Analysis completed! Source files cleaned up.")
|
| 274 |
else:
|
| 275 |
print(" PDF conversion failed! Check API Key")
|