Spaces:
Sleeping
Sleeping
Update main.py
Browse files
main.py
CHANGED
@@ -52,7 +52,7 @@ async def analyze(request: Request):
|
|
52 |
probs = np.mean(all_probs, axis=0)
|
53 |
|
54 |
# Define the fixed order
|
55 |
-
fixed_order = ["
|
56 |
|
57 |
# Build the result using fixed order
|
58 |
result = [
|
|
|
52 |
probs = np.mean(all_probs, axis=0)
|
53 |
|
54 |
# Define the fixed order
|
55 |
+
fixed_order = ["negative", "neutral", "positive"]
|
56 |
|
57 |
# Build the result using fixed order
|
58 |
result = [
|