Spaces:
Paused
Paused
Fabrice-TIERCELIN
commited on
Commit
•
1785567
1
Parent(s):
540299d
Reactivate Stage 1
Browse files- gradio_demo.py +0 -3
gradio_demo.py
CHANGED
@@ -69,9 +69,6 @@ if torch.cuda.device_count() > 0:
|
|
69 |
|
70 |
@spaces.GPU(duration=120)
|
71 |
def stage1_process(input_image, gamma_correction):
|
72 |
-
return None
|
73 |
-
|
74 |
-
def stage1_process2(input_image, gamma_correction):
|
75 |
if torch.cuda.device_count() == 0:
|
76 |
gr.Warning('Set this space to GPU config to make it work.')
|
77 |
return None
|
|
|
69 |
|
70 |
@spaces.GPU(duration=120)
|
71 |
def stage1_process(input_image, gamma_correction):
|
|
|
|
|
|
|
72 |
if torch.cuda.device_count() == 0:
|
73 |
gr.Warning('Set this space to GPU config to make it work.')
|
74 |
return None
|