Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -104,8 +104,7 @@ def main():
|
|
104 |
# Initialize 'political_statement' with default 'Wahl-O-Mat' values
|
105 |
political_statement_initial_choices = [f"{i+1}. {statement['text']}" for i, statement in enumerate(wahl_o_mat_data['statements'])]
|
106 |
political_statement = gr.Dropdown(
|
107 |
-
label="
|
108 |
-
placeholder="Enter your own political statement here or select one...",
|
109 |
choices=political_statement_initial_choices, # Set default to 'Wahl-O-Mat' statements
|
110 |
allow_custom_value = True
|
111 |
)
|
|
|
104 |
# Initialize 'political_statement' with default 'Wahl-O-Mat' values
|
105 |
political_statement_initial_choices = [f"{i+1}. {statement['text']}" for i, statement in enumerate(wahl_o_mat_data['statements'])]
|
106 |
political_statement = gr.Dropdown(
|
107 |
+
label="Selecet political statement or enter you own",
|
|
|
108 |
choices=political_statement_initial_choices, # Set default to 'Wahl-O-Mat' statements
|
109 |
allow_custom_value = True
|
110 |
)
|