Spaces:
Runtime error
Runtime error
Commit
·
0a8aa71
1
Parent(s):
e2cee4d
fix app.py
Browse files
app.py
CHANGED
@@ -1,6 +1,10 @@
|
|
1 |
import requests
|
2 |
import gradio as gr
|
3 |
from huggingface_hub import from_pretrained_fastai
|
|
|
|
|
|
|
|
|
4 |
|
5 |
# load model
|
6 |
repo_id = 'matteopilotto/deberta-v3-base-tweet_eval-emotion'
|
|
|
1 |
import requests
|
2 |
import gradio as gr
|
3 |
from huggingface_hub import from_pretrained_fastai
|
4 |
+
import torch
|
5 |
+
from fastai.text.all import *
|
6 |
+
from blurr.text.data.all import *
|
7 |
+
from blurr.text.modeling.all import *
|
8 |
|
9 |
# load model
|
10 |
repo_id = 'matteopilotto/deberta-v3-base-tweet_eval-emotion'
|