GameTheory commited on
Commit
ea8b9c4
·
verified ·
1 Parent(s): 6f3f1d0

Sync from GitHub

Browse files
Files changed (1) hide show
  1. app.py +4 -3
app.py CHANGED
@@ -528,8 +528,7 @@ footer { visibility:hidden; }
528
 
529
  def build_demo():
530
  with gr.Blocks(title="Worcestershire Libraries — Live Assistant") as demo:
531
- gr.HTML(f"<style>{CSS}</style>"
532
- "<div id='hero'><span class='live'>● live data</span>"
533
  "<h1>Worcestershire Libraries — Live Assistant</h1>"
534
  "<p>Books, mobile library, events, printing and what's free online — "
535
  "answered live from the council site & catalogue, with exactly what "
@@ -603,4 +602,6 @@ def build_demo():
603
 
604
 
605
  if __name__ == "__main__":
606
- build_demo().queue().launch(server_name="0.0.0.0", server_port=7860)
 
 
 
528
 
529
  def build_demo():
530
  with gr.Blocks(title="Worcestershire Libraries — Live Assistant") as demo:
531
+ gr.HTML("<div id='hero'><span class='live'>● live data</span>"
 
532
  "<h1>Worcestershire Libraries — Live Assistant</h1>"
533
  "<p>Books, mobile library, events, printing and what's free online — "
534
  "answered live from the council site & catalogue, with exactly what "
 
602
 
603
 
604
  if __name__ == "__main__":
605
+ build_demo().queue().launch(server_name="0.0.0.0", server_port=7860,
606
+ theme=gr.themes.Soft(primary_hue="teal"),
607
+ css=CSS)