Yaron Koresh commited on
Commit
16f2307
·
verified ·
1 Parent(s): 99877dc

Update code.py

Browse files
Files changed (1) hide show
  1. code.py +1 -2
code.py CHANGED
@@ -13,7 +13,7 @@ import warnings
13
 
14
  # external
15
 
16
- import spaces
17
  import torch
18
  import gradio as gr
19
  import numpy as np
@@ -217,7 +217,6 @@ def generate_random_string(*args):
217
  # @cpu2(cache=True,nopython=True,parallel=True)
218
  # @cpu1(cache=True)
219
  # @cpu2(cache=True)
220
- @spaces.GPU(duration=65)
221
  def Piper(*args):
222
  tx = cuda.threadIdx.x
223
  bx = cuda.blockIdx.x
 
13
 
14
  # external
15
 
16
+ #import spaces
17
  import torch
18
  import gradio as gr
19
  import numpy as np
 
217
  # @cpu2(cache=True,nopython=True,parallel=True)
218
  # @cpu1(cache=True)
219
  # @cpu2(cache=True)
 
220
  def Piper(*args):
221
  tx = cuda.threadIdx.x
222
  bx = cuda.blockIdx.x