MatteoFasulo commited on
Commit
138ec98
·
1 Parent(s): 37812f6

Fix wrong import

Browse files
Files changed (1) hide show
  1. app.py +2 -1
app.py CHANGED
@@ -1,6 +1,7 @@
1
  import gradio as gr
2
  import torch
3
- from transformers import DebertaV2Model, DebertaV2Config, AutoTokenizer, PreTrainedModel, ContextPooler
 
4
  from transformers import pipeline
5
  import torch.nn as nn
6
 
 
1
  import gradio as gr
2
  import torch
3
+ from transformers import DebertaV2Model, DebertaV2Config, AutoTokenizer, PreTrainedModel
4
+ from transformers.models.deberta.modeling_deberta import ContextPooler
5
  from transformers import pipeline
6
  import torch.nn as nn
7