Spaces:
Running
Running
Sigrid De los Santos
commited on
Commit
·
215f78a
1
Parent(s):
3848583
App is ready
Browse files- src/main.py +2 -2
src/main.py
CHANGED
@@ -78,8 +78,8 @@ def run_value_investing_analysis(csv_path, progress_callback=None):
|
|
78 |
sentiment = result.get("sentiment", "Neutral")
|
79 |
confidence = float(result.get("confidence", 0.0))
|
80 |
signal = result.get("investment_decision", "Watch")
|
81 |
-
if progress_callback:
|
82 |
-
progress_callback(f"📰 [{title[:50]}...] → Sentiment: {sentiment}, Confidence: {confidence}, Signal: {signal}")
|
83 |
except Exception as e:
|
84 |
if progress_callback:
|
85 |
progress_callback(f"[FinBERT ERROR] {e}")
|
|
|
78 |
sentiment = result.get("sentiment", "Neutral")
|
79 |
confidence = float(result.get("confidence", 0.0))
|
80 |
signal = result.get("investment_decision", "Watch")
|
81 |
+
#if progress_callback:
|
82 |
+
#progress_callback(f"📰 [{title[:50]}...] → Sentiment: {sentiment}, Confidence: {confidence}, Signal: {signal}")
|
83 |
except Exception as e:
|
84 |
if progress_callback:
|
85 |
progress_callback(f"[FinBERT ERROR] {e}")
|