AnnaPalatkina commited on
Commit
9761446
1 Parent(s): c6ebbf7
Files changed (2) hide show
  1. app.py +1 -1
  2. sentiment_wrapper.py +1 -1
app.py CHANGED
@@ -1,4 +1,4 @@
1
- from hug_repository.sentiment_wrapper import PredictionModel
2
  import gradio as gr
3
 
4
  model = PredictionModel()
 
1
+ from sentiment_wrapper import PredictionModel
2
  import gradio as gr
3
 
4
  model = PredictionModel()
sentiment_wrapper.py CHANGED
@@ -2,7 +2,7 @@ from transformers import BertModel, BertTokenizer, AdamW, get_linear_schedule_wi
2
  from sklearn.metrics import classification_report, f1_score
3
  from torch.utils.data import Dataset, DataLoader
4
  from tqdm.auto import tqdm
5
- from norbench_SA.config import params
6
  from torch import nn
7
  import pandas as pd
8
  import numpy as np
 
2
  from sklearn.metrics import classification_report, f1_score
3
  from torch.utils.data import Dataset, DataLoader
4
  from tqdm.auto import tqdm
5
+ from config import params
6
  from torch import nn
7
  import pandas as pd
8
  import numpy as np