Spaces:
Sleeping
Sleeping
Commit ·
75136b3
1
Parent(s): e35a87f
Fix TypeError: Convert numeric classes to strings in initialize_models
Browse files1533 unmodified lines15341535153615371538153915401533 unmodified linesprint("\n>> Initializing sentiment analysis model...")if sentiment_analyzer.initialize():print(f">> Sentiment analysis ready! (Accuracy: {sentiment_analyzer.model_accuracy:.2%})")print(f" Classes: {', '.join(sentiment_analyzer.classes)}")else:print(">> WARNING: Sentiment analysis initialization failed")1533 unmodified lines15341535153615371538153915401533 unmodified linesprint("\n>> Initializing sentiment analysis model...")if sentiment_analyzer.initialize():print(f">> Sentiment analysis ready! (Accuracy: {sentiment_analyzer.model_accuracy:.2%})")print(f" Classes: {', '.join(str(c) for c in sentiment_analyzer.classes)}")else:print(">> WARNING: Sentiment analysis initialization failed")
app.py+1-1