Spaces:
Sleeping
Sleeping
file added
Browse files
app.py
CHANGED
@@ -68,7 +68,7 @@ def preprocess_input(user_input):
|
|
68 |
logger.info(f"Preprocessed input: {user_input}")
|
69 |
return user_input
|
70 |
|
71 |
-
# Function for sentiment analysis
|
72 |
def analyze_sentiment(user_input):
|
73 |
logger.info("Analyzing sentiment...")
|
74 |
result = sentiment_analyzer(user_input)
|
|
|
68 |
logger.info(f"Preprocessed input: {user_input}")
|
69 |
return user_input
|
70 |
|
71 |
+
# Function for sentiment analysis
|
72 |
def analyze_sentiment(user_input):
|
73 |
logger.info("Analyzing sentiment...")
|
74 |
result = sentiment_analyzer(user_input)
|