TroglodyteDerivations
commited on
Updated lines 394, 395, and 396 with: Wolves [Set with: 10-50], [Utilize: 3], [Set with: 100-200]
Browse files
app.py
CHANGED
@@ -391,9 +391,9 @@ def optimize(npart, ndim, max_iter):
|
|
391 |
iface = gr.Interface(
|
392 |
fn=optimize, # Pass the optimize function object
|
393 |
inputs=[
|
394 |
-
gr.components.Number(label="Number of
|
395 |
-
gr.components.Number(label="Number of Dimensions"),
|
396 |
-
gr.components.Number(label="Maximum Iterations"),
|
397 |
#gr.components.Dropdown(choices=["Objective"], label="Objective Function") # Add a dropdown to select the objective function
|
398 |
],
|
399 |
outputs=[
|
|
|
391 |
iface = gr.Interface(
|
392 |
fn=optimize, # Pass the optimize function object
|
393 |
inputs=[
|
394 |
+
gr.components.Number(label="Number of Wolves [Set with: 10-50]"),
|
395 |
+
gr.components.Number(label="Number of Dimensions [Utilize: 3]"),
|
396 |
+
gr.components.Number(label="Maximum Iterations [Set with: 100-200]"),
|
397 |
#gr.components.Dropdown(choices=["Objective"], label="Objective Function") # Add a dropdown to select the objective function
|
398 |
],
|
399 |
outputs=[
|