Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -118,7 +118,7 @@ def extract_code_and_test_case(generated_question):
|
|
| 118 |
with st.form(key="input_form"):
|
| 119 |
company = st.text_input("Company", value="Google") # Default value: Google
|
| 120 |
difficulty = st.selectbox("Difficulty", ["Easy", "Medium", "Hard"], index=1) # Default: Medium
|
| 121 |
-
topic = st.text_input("Topic (e.g.,
|
| 122 |
|
| 123 |
generate_button = st.form_submit_button(label="Generate")
|
| 124 |
|
|
|
|
| 118 |
with st.form(key="input_form"):
|
| 119 |
company = st.text_input("Company", value="Google") # Default value: Google
|
| 120 |
difficulty = st.selectbox("Difficulty", ["Easy", "Medium", "Hard"], index=1) # Default: Medium
|
| 121 |
+
topic = st.text_input("Topic (e.g., Binary Search)", value="Binary Search") # Default: Backtracking
|
| 122 |
|
| 123 |
generate_button = st.form_submit_button(label="Generate")
|
| 124 |
|