zkmine commited on
Commit
d5d8ec8
·
verified ·
1 Parent(s): c630218

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +4 -2
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, share=False)
 
 
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)