Update app.py
Browse files
app.py
CHANGED
@@ -5,7 +5,7 @@ os.environ['PATH'] = os.environ['PATH'] + ':/usr/local/cuda/bin'
|
|
5 |
from datetime import datetime
|
6 |
|
7 |
import gradio as gr
|
8 |
-
import spaces
|
9 |
import numpy as np
|
10 |
import torch
|
11 |
from diffusers.image_processor import VaeImageProcessor
|
@@ -123,7 +123,7 @@ automasker = AutoMasker(
|
|
123 |
device='cuda',
|
124 |
)
|
125 |
|
126 |
-
@spaces.GPU(duration=120)
|
127 |
def submit_function(
|
128 |
person_image,
|
129 |
cloth_image,
|
|
|
5 |
from datetime import datetime
|
6 |
|
7 |
import gradio as gr
|
8 |
+
# import spaces
|
9 |
import numpy as np
|
10 |
import torch
|
11 |
from diffusers.image_processor import VaeImageProcessor
|
|
|
123 |
device='cuda',
|
124 |
)
|
125 |
|
126 |
+
# @spaces.GPU(duration=120)
|
127 |
def submit_function(
|
128 |
person_image,
|
129 |
cloth_image,
|