paolosca90 Claude commited on
Commit
b7f091f
Β·
1 Parent(s): ae8f441

debug: Add symbol type logging to analyze_symbol

Browse files

This 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>

Files changed (1) hide show
  1. app.py +1 -0
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