rrg92 commited on
Commit
da44f09
1 Parent(s): 16999e3

fix spaces

Browse files
Files changed (1) hide show
  1. app.py +1 -0
app.py CHANGED
@@ -2,6 +2,7 @@ import torch
2
  import torch.nn.functional as F
3
  from transformers import AutoTokenizer, AutoModel, AutoImageProcessor
4
  import gradio as gr
 
5
 
6
  processor = AutoImageProcessor.from_pretrained("nomic-ai/nomic-embed-vision-v1.5")
7
  vision_model = AutoModel.from_pretrained("nomic-ai/nomic-embed-vision-v1.5", trust_remote_code=True)
 
2
  import torch.nn.functional as F
3
  from transformers import AutoTokenizer, AutoModel, AutoImageProcessor
4
  import gradio as gr
5
+ import spaces
6
 
7
  processor = AutoImageProcessor.from_pretrained("nomic-ai/nomic-embed-vision-v1.5")
8
  vision_model = AutoModel.from_pretrained("nomic-ai/nomic-embed-vision-v1.5", trust_remote_code=True)