Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -96,13 +96,13 @@ def generate_pdf_file(state):
|
|
| 96 |
|
| 97 |
with gr.Blocks(theme=gr.themes.Default()) as app:
|
| 98 |
state = gr.State({})
|
| 99 |
-
gr.Markdown("#
|
| 100 |
with gr.Row():
|
| 101 |
with gr.Column(scale=1):
|
| 102 |
gr.Markdown("### Setup")
|
| 103 |
user_name = gr.Textbox(label="Your Name")
|
| 104 |
interview_type_dd = gr.Dropdown(config.INTERVIEW_TYPES, label="Interview Type")
|
| 105 |
-
num_questions_slider = gr.Slider(minimum=
|
| 106 |
|
| 107 |
# --- THIS IS THE UPDATED COMPONENT ---
|
| 108 |
doc_uploader = gr.File(
|
|
|
|
| 96 |
|
| 97 |
with gr.Blocks(theme=gr.themes.Default()) as app:
|
| 98 |
state = gr.State({})
|
| 99 |
+
gr.Markdown("# PM Interview Coach")
|
| 100 |
with gr.Row():
|
| 101 |
with gr.Column(scale=1):
|
| 102 |
gr.Markdown("### Setup")
|
| 103 |
user_name = gr.Textbox(label="Your Name")
|
| 104 |
interview_type_dd = gr.Dropdown(config.INTERVIEW_TYPES, label="Interview Type")
|
| 105 |
+
num_questions_slider = gr.Slider(minimum=1, maximum=10, value=5, step=1, label="Number of Questions")
|
| 106 |
|
| 107 |
# --- THIS IS THE UPDATED COMPONENT ---
|
| 108 |
doc_uploader = gr.File(
|