Update app.py
Browse files
app.py
CHANGED
@@ -1,6 +1,7 @@
|
|
1 |
import gradio as gr
|
2 |
from transformers import AutoTokenizer, AutoModelForSequenceClassification
|
3 |
import numpy as np
|
|
|
4 |
|
5 |
BASE_MODEL = "AlekseyDorkin/xlm-roberta-en-ru-emoji"
|
6 |
TOP_N = 5
|
|
|
1 |
import gradio as gr
|
2 |
from transformers import AutoTokenizer, AutoModelForSequenceClassification
|
3 |
import numpy as np
|
4 |
+
import torch
|
5 |
|
6 |
BASE_MODEL = "AlekseyDorkin/xlm-roberta-en-ru-emoji"
|
7 |
TOP_N = 5
|