Spaces:
Running
Running
ibraheemmoosa
commited on
Commit
•
df59c87
1
Parent(s):
e99cbfd
Update app.py
Browse files
app.py
CHANGED
@@ -1,4 +1,5 @@
|
|
1 |
import gradio as gr
|
|
|
2 |
from transformers import AutoModel, AutoTokenizer, PretrainedConfig, PreTrainedModel, MT5EncoderModel
|
3 |
|
4 |
class MTRankerConfig(PretrainedConfig):
|
|
|
1 |
import gradio as gr
|
2 |
+
import torch
|
3 |
from transformers import AutoModel, AutoTokenizer, PretrainedConfig, PreTrainedModel, MT5EncoderModel
|
4 |
|
5 |
class MTRankerConfig(PretrainedConfig):
|