Spaces:
Sleeping
Sleeping
francescoKrnl
commited on
Update app.py
Browse files
app.py
CHANGED
@@ -69,7 +69,8 @@ def upload_sketch(file):
|
|
69 |
|
70 |
scripts = """
|
71 |
async () => {
|
72 |
-
|
|
|
73 |
globalThis.theSketchDownloadFunction = () => {
|
74 |
console.log("test")
|
75 |
var link = document.createElement("a");
|
@@ -160,7 +161,7 @@ async () => {
|
|
160 |
}
|
161 |
"""
|
162 |
|
163 |
-
with gr.Blocks(css="style.css"
|
164 |
|
165 |
|
166 |
|
|
|
69 |
|
70 |
scripts = """
|
71 |
async () => {
|
72 |
+
console.log('Loaded...');
|
73 |
+
|
74 |
globalThis.theSketchDownloadFunction = () => {
|
75 |
console.log("test")
|
76 |
var link = document.createElement("a");
|
|
|
161 |
}
|
162 |
"""
|
163 |
|
164 |
+
with gr.Blocks(css="style.css") as demo:
|
165 |
|
166 |
|
167 |
|