Sa-m commited on
Commit
29b2f23
·
verified ·
1 Parent(s): 6adb0a0

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +17 -5
app.py CHANGED
@@ -956,12 +956,23 @@ except ImportError as e:
956
  chat_module = None
957
 
958
  # --- Gradio Interface ---
 
 
959
  with gr.Blocks(title="PrepGenie - Mock Interview") as demo:
960
- gr.Markdown("# 🦈 PrepGenie")
961
- interview_state = gr.State({})
962
- user_state = gr.State("")
963
- user_email_state = gr.State("")
964
- processed_resume_data_state = gr.State("")
 
 
 
 
 
 
 
 
 
965
 
966
  # --- Login Section ---
967
  with gr.Column(visible=True) as login_section:
@@ -1054,6 +1065,7 @@ with gr.Blocks(title="PrepGenie - Mock Interview") as demo:
1054
  if CHAT_MODULE_AVAILABLE:
1055
  chat_btn.click(fn=navigate_to_chat, inputs=None, outputs=[interview_view, chat_view])
1056
 
 
1057
  # --- Event Listeners for Interview ---
1058
  process_btn_interview.click(
1059
  fn=process_resume,
 
956
  chat_module = None
957
 
958
  # --- Gradio Interface ---
959
+
960
+
961
  with gr.Blocks(title="PrepGenie - Mock Interview") as demo:
962
+ # --- Header Section ---
963
+ with gr.Row():
964
+ # Display the logo/image on the left
965
+ gr.Image("prep_genie_logo.png", label=None, show_label=False).style(height=50, width=50)
966
+
967
+ # Display the title on the right
968
+ gr.Markdown(
969
+ """
970
+ <h1 style="display: flex; align-items: center;">
971
+ <span style="margin-left: 10px;">PrepGenie</span>
972
+ </h1>
973
+ """,
974
+ elem_id="title"
975
+ )
976
 
977
  # --- Login Section ---
978
  with gr.Column(visible=True) as login_section:
 
1065
  if CHAT_MODULE_AVAILABLE:
1066
  chat_btn.click(fn=navigate_to_chat, inputs=None, outputs=[interview_view, chat_view])
1067
 
1068
+
1069
  # --- Event Listeners for Interview ---
1070
  process_btn_interview.click(
1071
  fn=process_resume,