zhaokeyao1
commited on
Commit
•
d535eff
1
Parent(s):
3778d2e
Update js
Browse files
app.py
CHANGED
@@ -64,7 +64,7 @@ with gr.Blocks() as demo:
|
|
64 |
document.querySelector('button.gr-button').click();
|
65 |
}
|
66 |
|
67 |
-
//
|
68 |
document.addEventListener('DOMContentLoaded', (event) => {
|
69 |
const outputElement = document.querySelector('.gr-textbox-output');
|
70 |
const observer = new MutationObserver(function(mutations) {
|
@@ -80,4 +80,5 @@ with gr.Blocks() as demo:
|
|
80 |
});
|
81 |
</script>
|
82 |
""")
|
|
|
83 |
demo.launch()
|
|
|
64 |
document.querySelector('button.gr-button').click();
|
65 |
}
|
66 |
|
67 |
+
// js Gradio
|
68 |
document.addEventListener('DOMContentLoaded', (event) => {
|
69 |
const outputElement = document.querySelector('.gr-textbox-output');
|
70 |
const observer = new MutationObserver(function(mutations) {
|
|
|
80 |
});
|
81 |
</script>
|
82 |
""")
|
83 |
+
|
84 |
demo.launch()
|