Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -5556,7 +5556,7 @@ def get_country_section_index_cached(country):
|
|
| 5556 |
return list(sections or []) + extra_sections, status
|
| 5557 |
|
| 5558 |
|
| 5559 |
-
with gr.Blocks() as demo:
|
| 5560 |
current_user = gr.State({})
|
| 5561 |
gr.Markdown("# ๐ reBom")
|
| 5562 |
gr.HTML("""
|
|
@@ -5694,20 +5694,16 @@ try:
|
|
| 5694 |
server_name="0.0.0.0",
|
| 5695 |
server_port=7860,
|
| 5696 |
share=False,
|
| 5697 |
-
ssr_mode=False,
|
| 5698 |
-
css=custom_css,
|
| 5699 |
allowed_paths=ALLOWED_PATHS,
|
| 5700 |
blocked_paths=BLOCKED_PATHS,
|
| 5701 |
)
|
| 5702 |
except TypeError:
|
| 5703 |
# Gradio/HuggingFace ๋ฐํ์ ๋ฒ์ ์ฐจ์ด ๋์.
|
| 5704 |
-
# Gradio 6์์๋ SSR ๊ธฐ๋ณธ๊ฐ ๋๋ฌธ์ ํ๋ฉด ๋ก๋ฉ์ด ๊ผฌ์ผ ์ ์์ด fallback์๋ ssr_mode=False๋ฅผ ์ ์งํ๋ค.
|
| 5705 |
demo.launch(
|
| 5706 |
auth=auth_fn,
|
| 5707 |
server_name="0.0.0.0",
|
| 5708 |
server_port=7860,
|
| 5709 |
share=False,
|
| 5710 |
-
ssr_mode=False,
|
| 5711 |
allowed_paths=ALLOWED_PATHS,
|
| 5712 |
blocked_paths=BLOCKED_PATHS,
|
| 5713 |
)
|
|
|
|
| 5556 |
return list(sections or []) + extra_sections, status
|
| 5557 |
|
| 5558 |
|
| 5559 |
+
with gr.Blocks(css=custom_css) as demo:
|
| 5560 |
current_user = gr.State({})
|
| 5561 |
gr.Markdown("# ๐ reBom")
|
| 5562 |
gr.HTML("""
|
|
|
|
| 5694 |
server_name="0.0.0.0",
|
| 5695 |
server_port=7860,
|
| 5696 |
share=False,
|
|
|
|
|
|
|
| 5697 |
allowed_paths=ALLOWED_PATHS,
|
| 5698 |
blocked_paths=BLOCKED_PATHS,
|
| 5699 |
)
|
| 5700 |
except TypeError:
|
| 5701 |
# Gradio/HuggingFace ๋ฐํ์ ๋ฒ์ ์ฐจ์ด ๋์.
|
|
|
|
| 5702 |
demo.launch(
|
| 5703 |
auth=auth_fn,
|
| 5704 |
server_name="0.0.0.0",
|
| 5705 |
server_port=7860,
|
| 5706 |
share=False,
|
|
|
|
| 5707 |
allowed_paths=ALLOWED_PATHS,
|
| 5708 |
blocked_paths=BLOCKED_PATHS,
|
| 5709 |
)
|