Spaces:
Build error
Build error
Update app.py
Browse files
app.py
CHANGED
|
@@ -168,14 +168,11 @@ def escape_html(unsafe_text):
|
|
| 168 |
.replace('"', """)
|
| 169 |
.replace("'", "'")
|
| 170 |
)
|
| 171 |
-
js = """
|
| 172 |
-
console.log("hello")
|
| 173 |
-
"""
|
| 174 |
|
| 175 |
css="""
|
| 176 |
.chatbox {height: 400px; overflow: auto; border: 1px solid #262626; padding: 10px; background-color: #171717; display: flex; flex-direction: column-reverse;}
|
| 177 |
"""
|
| 178 |
-
with gr.Blocks(css=css
|
| 179 |
|
| 180 |
|
| 181 |
with gr.Column(visible=True) as auth_view:
|
|
|
|
| 168 |
.replace('"', """)
|
| 169 |
.replace("'", "'")
|
| 170 |
)
|
|
|
|
|
|
|
|
|
|
| 171 |
|
| 172 |
css="""
|
| 173 |
.chatbox {height: 400px; overflow: auto; border: 1px solid #262626; padding: 10px; background-color: #171717; display: flex; flex-direction: column-reverse;}
|
| 174 |
"""
|
| 175 |
+
with gr.Blocks(css=css) as demo:
|
| 176 |
|
| 177 |
|
| 178 |
with gr.Column(visible=True) as auth_view:
|