Spaces:
Runtime error
Runtime error
Commit
·
326663b
1
Parent(s):
a6c7ac9
Update app.py
Browse files
app.py
CHANGED
|
@@ -118,8 +118,10 @@ start_work = """async() => {
|
|
| 118 |
|
| 119 |
clientHeight = getClientHeight();
|
| 120 |
if (isMobile()) {
|
| 121 |
-
window['gradioEl'].querySelectorAll('
|
| 122 |
-
|
|
|
|
|
|
|
| 123 |
new_height = (clientHeight - 250) + 'px';
|
| 124 |
} else {
|
| 125 |
new_height = (clientHeight - 350) + 'px';
|
|
|
|
| 118 |
|
| 119 |
clientHeight = getClientHeight();
|
| 120 |
if (isMobile()) {
|
| 121 |
+
output_htmls = window['gradioEl'].querySelectorAll('.output-html');
|
| 122 |
+
for (var i = 0; i < output_htmls.length; i++) {
|
| 123 |
+
output_htmls[i].style.display = "none";
|
| 124 |
+
}
|
| 125 |
new_height = (clientHeight - 250) + 'px';
|
| 126 |
} else {
|
| 127 |
new_height = (clientHeight - 350) + 'px';
|