Spaces:
Runtime error
Runtime error
@spaces.GPU
Browse files
app.py
CHANGED
|
@@ -25,6 +25,7 @@ def process_image(input_image, mode, weight1, weight2):
|
|
| 25 |
|
| 26 |
return sotai_pil, sketch_pil
|
| 27 |
|
|
|
|
| 28 |
def gradio_process_image(input_image, mode, weight1, weight2):
|
| 29 |
sotai_image, sketch_image = process_image(input_image, mode, weight1, weight2)
|
| 30 |
return sotai_image, sketch_image
|
|
|
|
| 25 |
|
| 26 |
return sotai_pil, sketch_pil
|
| 27 |
|
| 28 |
+
@spaces.GPU
|
| 29 |
def gradio_process_image(input_image, mode, weight1, weight2):
|
| 30 |
sotai_image, sketch_image = process_image(input_image, mode, weight1, weight2)
|
| 31 |
return sotai_image, sketch_image
|