Jeangg commited on
Commit
b36b9b1
·
1 Parent(s): de0666f

change layout

Browse files
Files changed (1) hide show
  1. app.py +7 -8
app.py CHANGED
@@ -121,19 +121,18 @@ def main():
121
  line_access_token = gr.Textbox(label="LINE Channel Access Token")
122
  audience_main_id = gr.Textbox(label="Main LINE Audience")
123
  option = gr.Radio(label="Select Option", choices=["Single message","Single Image map", "Image map with text", "Text with Image map"])
124
- gender = gr.CheckboxGroup(["Male", "Female"], label="Gender")
125
  with gr.Row():
126
  age_min = gr.Dropdown([15, 20, 25, 30, 35, 40, 45, 50, 55, 60, 65, 70],label="Age Min")
127
  age_max= gr.Dropdown([15 ,20, 25, 30, 35, 40, 45, 50, 55, 60, 65, 70],label="Age Max")
128
  # age = gr.Slider(minimum=15, maximum=70, step=15,label='Age', info="Choose age range", interactive=True)
129
-
130
- friend_duration_min = gr.Dropdown([7, 30, 90, 180, 365],label="Friend Duration Min")
131
- friend_duration_max = gr.Dropdown([7, 30, 90, 180, 365],label="Friend Duration Max")
132
- friend_duration = gr.Row(friend_duration_min, friend_duration_max)
133
  # friend_duration = gr.Slider(minimum=30, maximum=180, step=30, label="Friend Duration", info="Choose friend duration", randomize=True)
134
-
135
- system = gr.CheckboxGroup(["ios", "Android"], info="Select Mobile system", label='Mobile System')
136
- region = gr.CheckboxGroup(['Bangkok', 'Pattaya', 'Northern', 'Central', 'Southern', 'Eastern', 'NorthEastern', 'Western'], label="Thailand Region", info="Select Thailand Region")
 
137
 
138
  # Message Conditional Inputs
139
  # image_address = gr.Textbox(label="Your Image address", visible=False)
 
121
  line_access_token = gr.Textbox(label="LINE Channel Access Token")
122
  audience_main_id = gr.Textbox(label="Main LINE Audience")
123
  option = gr.Radio(label="Select Option", choices=["Single message","Single Image map", "Image map with text", "Text with Image map"])
 
124
  with gr.Row():
125
  age_min = gr.Dropdown([15, 20, 25, 30, 35, 40, 45, 50, 55, 60, 65, 70],label="Age Min")
126
  age_max= gr.Dropdown([15 ,20, 25, 30, 35, 40, 45, 50, 55, 60, 65, 70],label="Age Max")
127
  # age = gr.Slider(minimum=15, maximum=70, step=15,label='Age', info="Choose age range", interactive=True)
128
+ with gr.Row():
129
+ friend_duration_min = gr.Dropdown([7, 30, 90, 180, 365],label="Friend Duration Min")
130
+ friend_duration_max = gr.Dropdown([7, 30, 90, 180, 365],label="Friend Duration Max")
 
131
  # friend_duration = gr.Slider(minimum=30, maximum=180, step=30, label="Friend Duration", info="Choose friend duration", randomize=True)
132
+ with gr.Row():
133
+ gender = gr.CheckboxGroup(["Male", "Female"], label="Gender")
134
+ system = gr.CheckboxGroup(["ios", "Android"], info="Select Mobile system", label='Mobile System')
135
+ region = gr.CheckboxGroup(['Bangkok', 'Pattaya', 'Northern', 'Central', 'Southern', 'Eastern', 'NorthEastern', 'Western'], label="Thailand Region", info="Select Thailand Region")
136
 
137
  # Message Conditional Inputs
138
  # image_address = gr.Textbox(label="Your Image address", visible=False)