Spaces:
Running
on
A10G
Running
on
A10G
debug
Browse files
app.py
CHANGED
@@ -1,5 +1,7 @@
|
|
|
|
1 |
import sys
|
2 |
sys.path.append('.')
|
|
|
3 |
|
4 |
import cv2
|
5 |
import einops
|
@@ -8,7 +10,7 @@ import torch
|
|
8 |
import random
|
9 |
import gradio as gr
|
10 |
print(gr.__version__)
|
11 |
-
|
12 |
import albumentations as A
|
13 |
from PIL import Image
|
14 |
import torchvision.transforms as T
|
|
|
1 |
+
import os
|
2 |
import sys
|
3 |
sys.path.append('.')
|
4 |
+
os.system("pip install gradio==3.50.2")
|
5 |
|
6 |
import cv2
|
7 |
import einops
|
|
|
10 |
import random
|
11 |
import gradio as gr
|
12 |
print(gr.__version__)
|
13 |
+
|
14 |
import albumentations as A
|
15 |
from PIL import Image
|
16 |
import torchvision.transforms as T
|