Commit
·
afbed05
1
Parent(s):
abe7047
duration
Browse files
app.py
CHANGED
@@ -60,7 +60,7 @@ def check_input_images(input_images):
|
|
60 |
if input_images is None:
|
61 |
raise gr.Error("No images uploaded!")
|
62 |
|
63 |
-
@spaces.GPU(duration=
|
64 |
def process_images(input_images):
|
65 |
|
66 |
images_path = "/tmp/gradio/images"
|
@@ -100,7 +100,7 @@ def check_input_toon3d(processed_data_zip, labeled_data):
|
|
100 |
if processed_data_zip is None:
|
101 |
raise gr.Error("No images uploaded!")
|
102 |
|
103 |
-
@spaces.GPU(duration=
|
104 |
def run_toon3d(processed_data_zip, labeled_data):
|
105 |
|
106 |
data_prefix = "/tmp/gradio/inputs"
|
|
|
60 |
if input_images is None:
|
61 |
raise gr.Error("No images uploaded!")
|
62 |
|
63 |
+
@spaces.GPU(duration=120)
|
64 |
def process_images(input_images):
|
65 |
|
66 |
images_path = "/tmp/gradio/images"
|
|
|
100 |
if processed_data_zip is None:
|
101 |
raise gr.Error("No images uploaded!")
|
102 |
|
103 |
+
@spaces.GPU(duration=120)
|
104 |
def run_toon3d(processed_data_zip, labeled_data):
|
105 |
|
106 |
data_prefix = "/tmp/gradio/inputs"
|