If you don't get the image you wanted, add more details in the « Image description »
Browse files
app.py
CHANGED
|
@@ -84,7 +84,7 @@ def check(input_image):
|
|
| 84 |
def reset_feedback():
|
| 85 |
return 3, ''
|
| 86 |
|
| 87 |
-
@spaces.GPU(duration=
|
| 88 |
def stage1_process(input_image, gamma_correction):
|
| 89 |
print('stage1_process ==>>')
|
| 90 |
if torch.cuda.device_count() == 0:
|
|
@@ -401,6 +401,7 @@ def restore(
|
|
| 401 |
hours = math.floor(minutes / 60)
|
| 402 |
minutes = minutes - (hours * 60)
|
| 403 |
information = ("Start the process again if you want a different result. " if randomize_seed else "") + \
|
|
|
|
| 404 |
"Wait " + str(allocation) + " min before a new run to avoid quota penalty or use another computer. " + \
|
| 405 |
"The image(s) has(ve) been generated in " + \
|
| 406 |
((str(hours) + " h, ") if hours != 0 else "") + \
|
|
|
|
| 84 |
def reset_feedback():
|
| 85 |
return 3, ''
|
| 86 |
|
| 87 |
+
@spaces.GPU(duration=480)
|
| 88 |
def stage1_process(input_image, gamma_correction):
|
| 89 |
print('stage1_process ==>>')
|
| 90 |
if torch.cuda.device_count() == 0:
|
|
|
|
| 401 |
hours = math.floor(minutes / 60)
|
| 402 |
minutes = minutes - (hours * 60)
|
| 403 |
information = ("Start the process again if you want a different result. " if randomize_seed else "") + \
|
| 404 |
+
"If you don't get the image you wanted, add more details in the « Image description ». " + \
|
| 405 |
"Wait " + str(allocation) + " min before a new run to avoid quota penalty or use another computer. " + \
|
| 406 |
"The image(s) has(ve) been generated in " + \
|
| 407 |
((str(hours) + " h, ") if hours != 0 else "") + \
|