Spaces:
Runtime error
Runtime error
Commit
·
e865108
1
Parent(s):
5321d9c
himself
Browse files
app.py
CHANGED
|
@@ -95,7 +95,11 @@ def flip_image(x):
|
|
| 95 |
return np.fliplr(x)
|
| 96 |
|
| 97 |
|
| 98 |
-
js = "
|
|
|
|
|
|
|
|
|
|
|
|
|
| 99 |
css = "#component-2 {height: 350px}"
|
| 100 |
|
| 101 |
with gr.Blocks(title="Sophia, Torah Codes",css=css,js=js) as app:
|
|
|
|
| 95 |
return np.fliplr(x)
|
| 96 |
|
| 97 |
|
| 98 |
+
js = """
|
| 99 |
+
function upchat() {
|
| 100 |
+
document.getElementById('component-2').style.height='350px'
|
| 101 |
+
}
|
| 102 |
+
"""
|
| 103 |
css = "#component-2 {height: 350px}"
|
| 104 |
|
| 105 |
with gr.Blocks(title="Sophia, Torah Codes",css=css,js=js) as app:
|