Spaces:
Runtime error
Runtime error
omerXfaruq
commited on
Update app.py
Browse files
app.py
CHANGED
@@ -1,8 +1,8 @@
|
|
1 |
import gradio as gr
|
|
|
2 |
from torchvision.transforms import Resize
|
3 |
-
import torch
|
4 |
from upstash_vector import Index
|
5 |
-
|
6 |
|
7 |
index = Index.from_env()
|
8 |
|
|
|
1 |
import gradio as gr
|
2 |
+
import os
|
3 |
from torchvision.transforms import Resize
|
|
|
4 |
from upstash_vector import Index
|
5 |
+
|
6 |
|
7 |
index = Index.from_env()
|
8 |
|