Di12 commited on
Commit
aa0edd5
·
1 Parent(s): f05b0d5

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -115,8 +115,8 @@ class RNN(nn.Module):
115
  h = h[-1]
116
  return self.fc(self.dropout(h))
117
 
118
- model_path = hf_hub_download(repo_id="Di12/sentiment_analysis", filename="model.pt", repo_type="dataset")
119
- embedding_path = hf_hub_download(repo_id="Di12/sentiment_analysis", filename="vi_word2vec_reduced.txt", repo_type="dataset")
120
 
121
  # Load pretrained embeddings and build vocab
122
  word_embedding = vocab.Vectors(
 
115
  h = h[-1]
116
  return self.fc(self.dropout(h))
117
 
118
+ model_path = hf_hub_download(repo_id="Di12/sentiment_analysis", filename="model.pt", repo_type="space")
119
+ embedding_path = hf_hub_download(repo_id="Di12/sentiment_analysis", filename="vi_word2vec_reduced.txt", repo_type="space")
120
 
121
  # Load pretrained embeddings and build vocab
122
  word_embedding = vocab.Vectors(