Update app.py
Browse files
app.py
CHANGED
|
@@ -152,6 +152,14 @@ with gr.Blocks() as demo:
|
|
| 152 |
**Preprint:** <a href="https://arxiv.org/abs/2511.12756" target="_blank">arXiv:2511.12756</a>
|
| 153 |
""")
|
| 154 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 155 |
gr.Markdown("""
|
| 156 |
### Cite this work
|
| 157 |
```bibtex
|
|
@@ -166,11 +174,5 @@ with gr.Blocks() as demo:
|
|
| 166 |
doi={10.1109/TSMC.2025.3622075}}
|
| 167 |
```
|
| 168 |
""")
|
| 169 |
-
with gr.Row():
|
| 170 |
-
num_agents = gr.Slider(minimum=2, maximum=20, value=8, step=1, label="Number of Agents")
|
| 171 |
-
bat_life = gr.Slider(minimum=5000, maximum=20000, value=8000, step=1000, label="Task Capacity (Battery Life)")
|
| 172 |
-
btn = gr.Button("Run Simulation")
|
| 173 |
-
output_gif = gr.Image(label="Simulation Result (GIF)")
|
| 174 |
-
btn.click(fn=run_simulation, inputs=[num_agents, bat_life], outputs=output_gif)
|
| 175 |
|
| 176 |
demo.launch()
|
|
|
|
| 152 |
**Preprint:** <a href="https://arxiv.org/abs/2511.12756" target="_blank">arXiv:2511.12756</a>
|
| 153 |
""")
|
| 154 |
|
| 155 |
+
with gr.Row():
|
| 156 |
+
num_agents = gr.Slider(minimum=2, maximum=20, value=8, step=1, label="Number of Agents")
|
| 157 |
+
bat_life = gr.Slider(minimum=5000, maximum=20000, value=8000, step=1000, label="Task Capacity (Battery Life)")
|
| 158 |
+
btn = gr.Button("Run Simulation")
|
| 159 |
+
output_gif = gr.Image(label="Simulation Result (GIF)")
|
| 160 |
+
btn.click(fn=run_simulation, inputs=[num_agents, bat_life], outputs=output_gif)
|
| 161 |
+
|
| 162 |
+
|
| 163 |
gr.Markdown("""
|
| 164 |
### Cite this work
|
| 165 |
```bibtex
|
|
|
|
| 174 |
doi={10.1109/TSMC.2025.3622075}}
|
| 175 |
```
|
| 176 |
""")
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 177 |
|
| 178 |
demo.launch()
|