vuminhtue commited on
Commit
6f14908
·
verified ·
1 Parent(s): 8584cd9

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -12,13 +12,13 @@ LOCAL_DIR = os.path.join(os.getcwd(), "models", "qwen3_sentiment_tinystories")
12
  weights_path = hf_hub_download(
13
  repo_id=MODEL_REPO,
14
  filename=FILENAME,
15
- local_dir="models/qwen3_sentiment_tinystories", # any folder in runtime
16
  local_dir_use_symlinks=None # not needed anymore; safe to omit
17
  )
18
 
19
 
20
  # Load classifier
21
- classifier = SentimentClassifier(model_dir="models/qwen3_sentiment_tinystories",
22
  weights_path=weights_path)
23
 
24
  def predict_sentiment(text):
 
12
  weights_path = hf_hub_download(
13
  repo_id=MODEL_REPO,
14
  filename=FILENAME,
15
+ local_dir="qwen3_sentiment_tinystories", # any folder in runtime
16
  local_dir_use_symlinks=None # not needed anymore; safe to omit
17
  )
18
 
19
 
20
  # Load classifier
21
+ classifier = SentimentClassifier(model_dir="qwen3_sentiment_tinystories",
22
  weights_path=weights_path)
23
 
24
  def predict_sentiment(text):