Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
|
@@ -31,7 +31,7 @@ COMPANY_INDUSTRIES = [
|
|
| 31 |
("Web & App Design", "web-app-design"),
|
| 32 |
]
|
| 33 |
COUNTRY_CHOICES = [
|
| 34 |
-
"APAC", "EMEA", "LATAM", "Argentina", "Australia", "Austria", "Belgium", "Brazil", "Bulgaria",
|
| 35 |
"Canada", "China", "Costa Rica", "Croatia", "Cyprus", "Czechia", "Denmark", "Estonia", "Europe",
|
| 36 |
"Finland", "France", "Germany", "Greece", "Hungary", "Ireland", "Israel", "Italy", "Japan",
|
| 37 |
"Latvia", "Lithuania", "Mexico", "Netherlands", "New Zealand", "Norway", "Philippines", "Poland",
|
|
@@ -110,8 +110,8 @@ def search_jobs_ui(industry, country, keyword, limit):
|
|
| 110 |
app = gr.Interface(
|
| 111 |
fn=search_jobs_ui,
|
| 112 |
inputs=[
|
| 113 |
-
gr.Dropdown(label="Company Industry (optional)", choices=COMPANY_INDUSTRIES, value=""),
|
| 114 |
-
gr.Dropdown(label="Country / Region (optional)", choices=COUNTRY_CHOICES, value="
|
| 115 |
gr.Textbox(label="Keyword / Tag (optional)", placeholder="e.g., python, data, UX"),
|
| 116 |
gr.Slider(minimum=1, maximum=50, value=20, step=1, label="Number of Results"),
|
| 117 |
],
|
|
|
|
| 31 |
("Web & App Design", "web-app-design"),
|
| 32 |
]
|
| 33 |
COUNTRY_CHOICES = [
|
| 34 |
+
"", "APAC", "EMEA", "LATAM", "Argentina", "Australia", "Austria", "Belgium", "Brazil", "Bulgaria",
|
| 35 |
"Canada", "China", "Costa Rica", "Croatia", "Cyprus", "Czechia", "Denmark", "Estonia", "Europe",
|
| 36 |
"Finland", "France", "Germany", "Greece", "Hungary", "Ireland", "Israel", "Italy", "Japan",
|
| 37 |
"Latvia", "Lithuania", "Mexico", "Netherlands", "New Zealand", "Norway", "Philippines", "Poland",
|
|
|
|
| 110 |
app = gr.Interface(
|
| 111 |
fn=search_jobs_ui,
|
| 112 |
inputs=[
|
| 113 |
+
gr.Dropdown(label="Company Industry (optional) Empty = All", choices=COMPANY_INDUSTRIES, value=""),
|
| 114 |
+
gr.Dropdown(label="Country / Region (optional) Empty = Anywhere", choices=COUNTRY_CHOICES, value=""),
|
| 115 |
gr.Textbox(label="Keyword / Tag (optional)", placeholder="e.g., python, data, UX"),
|
| 116 |
gr.Slider(minimum=1, maximum=50, value=20, step=1, label="Number of Results"),
|
| 117 |
],
|