Spaces:
Sleeping
Sleeping
Yaron Koresh
commited on
Update code.py
Browse files
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
|