Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -1,10 +1,10 @@
|
|
1 |
import gradio as gr
|
2 |
-
js =
|
3 |
alert("aaa")
|
4 |
console.log("bbb Loaded.")
|
5 |
}
|
6 |
fn()
|
7 |
-
|
8 |
|
9 |
with gr.Blocks() as demo:
|
10 |
inp = gr.Textbox(label="Input")
|
|
|
1 |
import gradio as gr
|
2 |
+
js = '''function fn() {
|
3 |
alert("aaa")
|
4 |
console.log("bbb Loaded.")
|
5 |
}
|
6 |
fn()
|
7 |
+
'''
|
8 |
|
9 |
with gr.Blocks() as demo:
|
10 |
inp = gr.Textbox(label="Input")
|