evelyncsb commited on
Commit
7f0b913
·
1 Parent(s): f457390

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +11 -4
app.py CHANGED
@@ -1,9 +1,16 @@
1
  import gradio as gr
2
- import data
 
 
 
 
 
 
3
  import torch
4
- import gradio as gr
5
- from models import imagebind_model
6
- from models.imagebind_model import ModalityType
 
7
 
8
 
9
  device = "cuda:0" if torch.cuda.is_available() else "cpu"
 
1
  import gradio as gr
2
+ import os
3
+ import skimage
4
+ import IPython.display
5
+ import matplotlib.pyplot as plt
6
+ from PIL import Image
7
+ import numpy as np
8
+ from collections import OrderedDict
9
  import torch
10
+ from imagebind import data
11
+ from imagebind.models import imagebind_model
12
+ from imagebind.models.imagebind_model import ModalityType
13
+ import torch.nn as nn
14
 
15
 
16
  device = "cuda:0" if torch.cuda.is_available() else "cpu"