Fetching metadata from the HF Docker repository...
abidlabs
HF Staff
commited on
|
@@ -1,6 +1,8 @@
|
1
|
import gradio as gr
|
2
|
import time
|
|
|
3
|
|
|
|
4
|
def test(x, y):
|
5
|
time.sleep(3)
|
6
|
return x
|
|
|
1
|
import gradio as gr
|
2
|
import time
|
3
|
+
import spaces
|
4
|
|
5
|
+
@spaces.GPU
|
6
|
def test(x, y):
|
7
|
time.sleep(3)
|
8
|
return x
|