Spaces:
Running on Zero
Running on Zero
Update run.py
Browse files
run.py
CHANGED
|
@@ -1,7 +1,7 @@
|
|
| 1 |
import time
|
| 2 |
import gradio as gr
|
| 3 |
|
| 4 |
-
@spaces.GPU
|
| 5 |
def slow_echo(message, history):
|
| 6 |
for i in range(len(message)):
|
| 7 |
time.sleep(0.05)
|
|
|
|
| 1 |
import time
|
| 2 |
import gradio as gr
|
| 3 |
|
| 4 |
+
@spaces.GPU()
|
| 5 |
def slow_echo(message, history):
|
| 6 |
for i in range(len(message)):
|
| 7 |
time.sleep(0.05)
|