acarey5 commited on
Commit
b8d2d77
·
1 Parent(s): 8199ab0
Files changed (1) hide show
  1. app.py +8 -11
app.py CHANGED
@@ -25,6 +25,12 @@ DEFAULT_COMPANY_CANDIDATES = [
25
  BASE_DIR / "data" / "NSBE 2026 Baltimore Company_ Schools - Companies (1).csv",
26
  ]
27
  DEBUG_HTML_DIR = BASE_DIR / "debug_html"
 
 
 
 
 
 
28
 
29
  CUSTOM_CSS = """
30
  @import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&family=Space+Grotesk:wght@500;700&display=swap');
@@ -777,16 +783,7 @@ def analyze_resume(
777
  )
778
 
779
 
780
- with gr.Blocks(
781
- title="AI Career Fair Matcher",
782
- theme=gr.themes.Base(
783
- primary_hue="cyan",
784
- secondary_hue="indigo",
785
- neutral_hue="slate",
786
- font=["Manrope", "ui-sans-serif", "sans-serif"],
787
- ),
788
- css=CUSTOM_CSS,
789
- ) as demo:
790
  with gr.Column(elem_classes=["app-shell"]):
791
  gr.HTML(
792
  """
@@ -911,4 +908,4 @@ with gr.Blocks(
911
 
912
 
913
  if __name__ == "__main__":
914
- demo.queue().launch()
 
25
  BASE_DIR / "data" / "NSBE 2026 Baltimore Company_ Schools - Companies (1).csv",
26
  ]
27
  DEBUG_HTML_DIR = BASE_DIR / "debug_html"
28
+ APP_THEME = gr.themes.Base(
29
+ primary_hue="cyan",
30
+ secondary_hue="indigo",
31
+ neutral_hue="slate",
32
+ font=["Manrope", "ui-sans-serif", "sans-serif"],
33
+ )
34
 
35
  CUSTOM_CSS = """
36
  @import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&family=Space+Grotesk:wght@500;700&display=swap');
 
783
  )
784
 
785
 
786
+ with gr.Blocks(title="AI Career Fair Matcher") as demo:
 
 
 
 
 
 
 
 
 
787
  with gr.Column(elem_classes=["app-shell"]):
788
  gr.HTML(
789
  """
 
908
 
909
 
910
  if __name__ == "__main__":
911
+ demo.queue().launch(theme=APP_THEME, css=CUSTOM_CSS, ssr_mode=False)