efeperro commited on
Commit
aed55cf
1 Parent(s): efa8597

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -0
app.py CHANGED
@@ -4,6 +4,7 @@ from PIL import Image
4
  from torchvision import transforms
5
  from transformers import T5Tokenizer, ViTFeatureExtractor
6
  from torch import nn
 
7
 
8
  class Encoder(nn.Module):
9
  def __init__(self, pretrained_model):
 
4
  from torchvision import transforms
5
  from transformers import T5Tokenizer, ViTFeatureExtractor
6
  from torch import nn
7
+ from typing import Tuple
8
 
9
  class Encoder(nn.Module):
10
  def __init__(self, pretrained_model):