Spaces:
Paused
Paused
Update app.py
Browse files
app.py
CHANGED
@@ -1,13 +1,13 @@
|
|
1 |
from __future__ import annotations
|
2 |
|
3 |
import gradio as gr
|
4 |
-
import spaces
|
5 |
from PIL import Image
|
6 |
import torch
|
7 |
|
8 |
from my_run import run as run_model
|
9 |
|
10 |
-
@spaces.GPU
|
11 |
def main_pipeline(
|
12 |
input_image: str,
|
13 |
src_prompt: str,
|
|
|
1 |
from __future__ import annotations
|
2 |
|
3 |
import gradio as gr
|
4 |
+
# import spaces
|
5 |
from PIL import Image
|
6 |
import torch
|
7 |
|
8 |
from my_run import run as run_model
|
9 |
|
10 |
+
# @spaces.GPU
|
11 |
def main_pipeline(
|
12 |
input_image: str,
|
13 |
src_prompt: str,
|