Spaces:
Paused
Paused
Commit
·
ed264cd
1
Parent(s):
75c0047
commit while runtimeerror
Browse files
app.py
CHANGED
@@ -5,12 +5,11 @@ import gradio as gr
|
|
5 |
import time
|
6 |
import os
|
7 |
import spaces
|
8 |
-
|
9 |
@spaces.GPU
|
10 |
def greet(name):
|
11 |
return "Hello there {}".format(name)
|
12 |
|
13 |
# comment
|
14 |
-
# comment number 2 dev mode ignored
|
15 |
iface = gr.Interface(fn=greet, inputs="text", outputs="text")
|
16 |
iface.launch()
|
|
|
5 |
import time
|
6 |
import os
|
7 |
import spaces
|
8 |
+
2/0
|
9 |
@spaces.GPU
|
10 |
def greet(name):
|
11 |
return "Hello there {}".format(name)
|
12 |
|
13 |
# comment
|
|
|
14 |
iface = gr.Interface(fn=greet, inputs="text", outputs="text")
|
15 |
iface.launch()
|