Spaces:
Runtime error
Runtime error
made runnable
Browse files
textclassifier/TextClassifier.py
CHANGED
@@ -106,7 +106,6 @@ class TextClassifier:
|
|
106 |
return self.df
|
107 |
|
108 |
def analyze_sentiment(self, text: str, sentiment: str):
|
109 |
-
# TODO: fix prompt before running this method
|
110 |
"""
|
111 |
Analyzes the sentiment of a text using OpenAI.
|
112 |
:param text: string of the tweet text.
|
|
|
106 |
return self.df
|
107 |
|
108 |
def analyze_sentiment(self, text: str, sentiment: str):
|
|
|
109 |
"""
|
110 |
Analyzes the sentiment of a text using OpenAI.
|
111 |
:param text: string of the tweet text.
|