Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -597,7 +597,7 @@ label { color: #94a3b8 !important; font-size: 13px !important; font-weight: 500
|
|
| 597 |
.msg-info { color: #60a5fa; font-size: 13px; }
|
| 598 |
"""
|
| 599 |
|
| 600 |
-
with gr.Blocks(
|
| 601 |
|
| 602 |
# ββ Session state ββββββββββββββββββββββββββββββββββββββββββββββββββββββ
|
| 603 |
user_id_state = gr.State(None)
|
|
@@ -710,7 +710,6 @@ with gr.Blocks(css=CSS, title="Second Brain", theme=gr.themes.Base()) as demo:
|
|
| 710 |
datatype=["number","str","str","str","str","str","str","str","str"],
|
| 711 |
interactive=False,
|
| 712 |
wrap=True,
|
| 713 |
-
height=400
|
| 714 |
)
|
| 715 |
|
| 716 |
with gr.Row():
|
|
@@ -734,7 +733,6 @@ with gr.Blocks(css=CSS, title="Second Brain", theme=gr.themes.Base()) as demo:
|
|
| 734 |
datatype=["number","str","str","str","str","str","str","str","str"],
|
| 735 |
interactive=False,
|
| 736 |
wrap=True,
|
| 737 |
-
height=500
|
| 738 |
)
|
| 739 |
|
| 740 |
with gr.Row():
|
|
@@ -1228,4 +1226,4 @@ with gr.Blocks(css=CSS, title="Second Brain", theme=gr.themes.Base()) as demo:
|
|
| 1228 |
|
| 1229 |
|
| 1230 |
if __name__ == "__main__":
|
| 1231 |
-
demo.launch()
|
|
|
|
| 597 |
.msg-info { color: #60a5fa; font-size: 13px; }
|
| 598 |
"""
|
| 599 |
|
| 600 |
+
with gr.Blocks(title="Second Brain") as demo:
|
| 601 |
|
| 602 |
# ββ Session state ββββββββββββββββββββββββββββββββββββββββββββββββββββββ
|
| 603 |
user_id_state = gr.State(None)
|
|
|
|
| 710 |
datatype=["number","str","str","str","str","str","str","str","str"],
|
| 711 |
interactive=False,
|
| 712 |
wrap=True,
|
|
|
|
| 713 |
)
|
| 714 |
|
| 715 |
with gr.Row():
|
|
|
|
| 733 |
datatype=["number","str","str","str","str","str","str","str","str"],
|
| 734 |
interactive=False,
|
| 735 |
wrap=True,
|
|
|
|
| 736 |
)
|
| 737 |
|
| 738 |
with gr.Row():
|
|
|
|
| 1226 |
|
| 1227 |
|
| 1228 |
if __name__ == "__main__":
|
| 1229 |
+
demo.launch(css=CSS, theme=gr.themes.Base())
|