Spaces:
Runtime error
Runtime error
fix
Browse files
app.py
CHANGED
@@ -1,3 +1,4 @@
|
|
|
|
1 |
import torch
|
2 |
from pipelines.inverted_ve_pipeline import STYLE_DESCRIPTION_DICT, create_image_grid
|
3 |
import gradio as gr
|
@@ -13,7 +14,6 @@ from random import randint
|
|
13 |
from utils import init_latent
|
14 |
from transformers import Blip2Processor, Blip2ForConditionalGeneration
|
15 |
from diffusers import DDIMScheduler
|
16 |
-
import spaces
|
17 |
|
18 |
# device = 'cuda' if torch.cuda.is_available() else 'cpu'
|
19 |
# if device == 'cpu':
|
|
|
1 |
+
import spaces
|
2 |
import torch
|
3 |
from pipelines.inverted_ve_pipeline import STYLE_DESCRIPTION_DICT, create_image_grid
|
4 |
import gradio as gr
|
|
|
14 |
from utils import init_latent
|
15 |
from transformers import Blip2Processor, Blip2ForConditionalGeneration
|
16 |
from diffusers import DDIMScheduler
|
|
|
17 |
|
18 |
# device = 'cuda' if torch.cuda.is_available() else 'cpu'
|
19 |
# if device == 'cpu':
|