Update app.py
Browse files
app.py
CHANGED
|
@@ -146,6 +146,10 @@ def generate(input=DEFAULT_INPUT, filter_input="", negative_input=DEFAULT_NEGATI
|
|
| 146 |
def cloud():
|
| 147 |
print("[CLOUD] | Space maintained.")
|
| 148 |
|
|
|
|
|
|
|
|
|
|
|
|
|
| 149 |
# Initialize
|
| 150 |
with gr.Blocks(css=css) as main:
|
| 151 |
with gr.Column():
|
|
|
|
| 146 |
def cloud():
|
| 147 |
print("[CLOUD] | Space maintained.")
|
| 148 |
|
| 149 |
+
@spaces.GPU(duration=0.001)
|
| 150 |
+
def gpu():
|
| 151 |
+
return True
|
| 152 |
+
|
| 153 |
# Initialize
|
| 154 |
with gr.Blocks(css=css) as main:
|
| 155 |
with gr.Column():
|