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