Staticaliza commited on
Commit
ba7e9d5
·
verified ·
1 Parent(s): 1794783

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
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.001)
150
  def gpu():
151
- return True
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: