Commit
51387dd
1 Parent(s): db1341d

update app.py

Browse files
Files changed (1) hide show
  1. app.py +4 -4
app.py CHANGED
@@ -136,14 +136,14 @@ with demo:
136
 
137
  with gr.Column():
138
  precision = gr.Dropdown(
139
- choices=[i.value.name for i in Precision if i != Precision.Unknown],
140
  label="Precision",
141
  multiselect=False,
142
  value="float16",
143
  interactive=True,
144
  )
145
  weight_type = gr.Dropdown(
146
- choices=[i.value.name for i in WeightType],
147
  label="Weights type",
148
  multiselect=False,
149
  value="Original",
@@ -162,7 +162,7 @@ with demo:
162
  precision,
163
  weight_type,
164
  model_type,
165
- num_examples_input # Included this line
166
  ],
167
  submission_result,
168
  )
@@ -180,4 +180,4 @@ with demo:
180
  scheduler = BackgroundScheduler()
181
  scheduler.add_job(restart_space, "interval", seconds=1800)
182
  scheduler.start()
183
- demo.queue(default_concurrency_limit=40).launch()
 
136
 
137
  with gr.Column():
138
  precision = gr.Dropdown(
139
+ choices=[i.value for i in Precision if i != Precision.Unknown],
140
  label="Precision",
141
  multiselect=False,
142
  value="float16",
143
  interactive=True,
144
  )
145
  weight_type = gr.Dropdown(
146
+ choices=[i.value for i in WeightType],
147
  label="Weights type",
148
  multiselect=False,
149
  value="Original",
 
162
  precision,
163
  weight_type,
164
  model_type,
165
+ num_examples_input
166
  ],
167
  submission_result,
168
  )
 
180
  scheduler = BackgroundScheduler()
181
  scheduler.add_job(restart_space, "interval", seconds=1800)
182
  scheduler.start()
183
+ demo.queue(default_concurrency_limit=40).launch()