will702 commited on
Commit
43e5c86
·
verified ·
1 Parent(s): 093285e

Upload app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -5,7 +5,7 @@ from fastapi import FastAPI, HTTPException, Request
5
  from pydantic import BaseModel
6
  from transformers import pipeline
7
 
8
- MODEL_NAME = "ihsan31415/indo-roBERTa-financial-sentiment"
9
  API_KEY = os.getenv("API_KEY")
10
 
11
  # Label mapping — flipped: 0=Positive, 1=Neutral, 2=Negative
 
5
  from pydantic import BaseModel
6
  from transformers import pipeline
7
 
8
+ MODEL_NAME = "will702/indo-roBERTa-financial-sentiment-v2"
9
  API_KEY = os.getenv("API_KEY")
10
 
11
  # Label mapping — flipped: 0=Positive, 1=Neutral, 2=Negative