Besimplestudio commited on
Commit
f66602e
·
verified ·
1 Parent(s): 70882e5

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +8 -2
app.py CHANGED
@@ -91,12 +91,18 @@ def analyze_coloring_trends(region='US'):
91
 
92
  return fig, top_keywords_str, recommendations
93
 
94
- # Create Gradio interface
95
  iface = gr.Interface(
96
  fn=analyze_coloring_trends,
97
  inputs=[
98
  gr.Dropdown(
99
- choices=['US', 'UK', 'CA', 'AU', 'DE', 'FR', 'ES', 'IT'],
 
 
 
 
 
 
100
  label="Select Region",
101
  value="US" # Set default region using 'value'
102
  )
 
91
 
92
  return fig, top_keywords_str, recommendations
93
 
94
+ # Create Gradio interface with a comprehensive list of regions
95
  iface = gr.Interface(
96
  fn=analyze_coloring_trends,
97
  inputs=[
98
  gr.Dropdown(
99
+ choices=[
100
+ 'US', 'UK', 'CA', 'AU', 'DE', 'FR', 'ES', 'IT', 'JP', 'BR', 'IN',
101
+ 'RU', 'MX', 'ZA', 'KR', 'NL', 'TR', 'ID', 'PL', 'SE', 'NO', 'CH',
102
+ 'AR', 'CO', 'CL', 'NZ', 'PT', 'PH', 'MY', 'SG', 'TH', 'IE', 'AT',
103
+ 'BE', 'DK', 'FI', 'GR', 'HU', 'IL', 'CN', 'TW', 'HK', 'CZ', 'AE',
104
+ 'SA', 'EG', 'PK', 'VN'
105
+ ],
106
  label="Select Region",
107
  value="US" # Set default region using 'value'
108
  )