Spaces:
Paused
Paused
Update app.py
Browse files
app.py
CHANGED
@@ -1,6 +1,6 @@
|
|
1 |
import os
|
2 |
import random
|
3 |
-
|
4 |
import gradio as gr
|
5 |
import numpy as np
|
6 |
import PIL.Image
|
@@ -14,12 +14,7 @@ from diffusers.utils import load_image
|
|
14 |
from huggingface_hub import HfApi
|
15 |
from pathlib import Path
|
16 |
from PIL import Image, ImageOps
|
17 |
-
import torch
|
18 |
-
import numpy as np
|
19 |
import cv2
|
20 |
-
import os
|
21 |
-
import random
|
22 |
-
import spaces
|
23 |
from gradio_imageslider import ImageSlider
|
24 |
|
25 |
js_func = """
|
|
|
1 |
import os
|
2 |
import random
|
3 |
+
import spaces
|
4 |
import gradio as gr
|
5 |
import numpy as np
|
6 |
import PIL.Image
|
|
|
14 |
from huggingface_hub import HfApi
|
15 |
from pathlib import Path
|
16 |
from PIL import Image, ImageOps
|
|
|
|
|
17 |
import cv2
|
|
|
|
|
|
|
18 |
from gradio_imageslider import ImageSlider
|
19 |
|
20 |
js_func = """
|