Spaces:
Sleeping
Sleeping
paolosca90
Claude
commited on
Commit
Β·
b7f091f
1
Parent(s):
ae8f441
debug: Add symbol type logging to analyze_symbol
Browse filesThis will show us exactly what symbol is being passed to the analysis function
when you test it on Hugging Face. We can see if there's a data type or value issue.
π€ Generated with [Claude Code](https://claude.com/claude-code)
Co-Authored-By: Claude <noreply@anthropic.com>
app.py
CHANGED
|
@@ -757,6 +757,7 @@ def analyze_symbol(symbol: str):
|
|
| 757 |
"""Analyze a single symbol using TimesFM"""
|
| 758 |
try:
|
| 759 |
print(f"π Starting TimesFM analysis for {symbol}")
|
|
|
|
| 760 |
|
| 761 |
data = get_cached_data(symbol)
|
| 762 |
|
|
|
|
| 757 |
"""Analyze a single symbol using TimesFM"""
|
| 758 |
try:
|
| 759 |
print(f"π Starting TimesFM analysis for {symbol}")
|
| 760 |
+
print(f"π Symbol type: {type(symbol)}, value: '{symbol}'")
|
| 761 |
|
| 762 |
data = get_cached_data(symbol)
|
| 763 |
|