carblacac commited on
Commit
abea447
·
1 Parent(s): bfa9948

add path to imports

Browse files
Files changed (1) hide show
  1. app.py +3 -1
app.py CHANGED
@@ -1,9 +1,11 @@
 
 
1
  import gradio as gr
2
  import torch
3
  from transformers import AutoTokenizer
4
  from transformers import AutoModelForSequenceClassification
5
 
6
-
7
  # Specify the path of the model
8
  model_ckpt = Path("./distilbert-base-uncased-finetuned-emotion")
9
 
 
1
+ from pathlib import Path
2
+
3
  import gradio as gr
4
  import torch
5
  from transformers import AutoTokenizer
6
  from transformers import AutoModelForSequenceClassification
7
 
8
+
9
  # Specify the path of the model
10
  model_ckpt = Path("./distilbert-base-uncased-finetuned-emotion")
11