ibraheemmoosa commited on
Commit
df59c87
1 Parent(s): e99cbfd

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -0
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):