Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -262,7 +262,8 @@ HERO_HTML = """
|
|
| 262 |
|
| 263 |
def build_app() -> gr.Blocks:
|
| 264 |
"""Construct the Gradio Blocks interface."""
|
| 265 |
-
with gr.Blocks(css=CUSTOM_CSS, title="PlainScript — Medical Rewriter") as app:
|
|
|
|
| 266 |
gr.HTML(STICKERS_HTML)
|
| 267 |
gr.HTML(HERO_HTML)
|
| 268 |
|
|
@@ -303,4 +304,5 @@ def build_app() -> gr.Blocks:
|
|
| 303 |
return app
|
| 304 |
|
| 305 |
demo = build_app()
|
| 306 |
-
demo.launch(server_name="0.0.0.0", server_port=7860
|
|
|
|
|
|
| 262 |
|
| 263 |
def build_app() -> gr.Blocks:
|
| 264 |
"""Construct the Gradio Blocks interface."""
|
| 265 |
+
#with gr.Blocks(css=CUSTOM_CSS, title="PlainScript — Medical Rewriter") as app:
|
| 266 |
+
with gr.Blocks(title="PlainScript — Medical Rewriter") as app:
|
| 267 |
gr.HTML(STICKERS_HTML)
|
| 268 |
gr.HTML(HERO_HTML)
|
| 269 |
|
|
|
|
| 304 |
return app
|
| 305 |
|
| 306 |
demo = build_app()
|
| 307 |
+
demo.launch(server_name="0.0.0.0", server_port=7860)
|
| 308 |
+
#demo.launch(server_name="0.0.0.0", server_port=7860, share=False)
|