Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
@@ -117,11 +117,13 @@ if __name__ == "__main__":
|
|
117 |
gr.Image(value="./images/cd1.svg", label="Sample 1", show_label=True, interactive=False, height="auto")
|
118 |
gr.Image(value="./images/cd3.svg", label="Sample 3", show_label=True, interactive=False, height="auto")
|
119 |
gr.Image(value="./images/cd5.svg", label="Sample 5", show_label=True, interactive=False, height="auto")
|
|
|
120 |
|
121 |
with gr.Column(scale=1):
|
122 |
gr.Image(value="./images/cd2.svg", label="Sample 2", show_label=True, interactive=False, height="auto")
|
123 |
-
gr.Image(value="./images/
|
124 |
-
gr.Image(value="./images/
|
|
|
125 |
|
126 |
with gr.TabItem("Entity Relationship"):
|
127 |
with gr.Row():
|
@@ -148,10 +150,17 @@ if __name__ == "__main__":
|
|
148 |
outputs=output_er
|
149 |
)
|
150 |
|
151 |
-
|
152 |
-
|
153 |
-
|
154 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
155 |
|
156 |
with gr.TabItem("Radial Diagram"):
|
157 |
with gr.Row():
|
@@ -179,11 +188,16 @@ if __name__ == "__main__":
|
|
179 |
)
|
180 |
|
181 |
gr.Markdown("## Examples")
|
182 |
-
with gr.Row(
|
183 |
-
gr.
|
184 |
-
|
185 |
-
|
186 |
-
|
|
|
|
|
|
|
|
|
|
|
187 |
|
188 |
with gr.TabItem("Concept Map"):
|
189 |
with gr.Row():
|
@@ -211,9 +225,16 @@ if __name__ == "__main__":
|
|
211 |
)
|
212 |
|
213 |
gr.Markdown("## Examples")
|
214 |
-
with gr.Row(
|
215 |
-
gr.
|
216 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
217 |
|
218 |
with gr.TabItem("Timeline"):
|
219 |
with gr.Row():
|
@@ -241,9 +262,12 @@ if __name__ == "__main__":
|
|
241 |
)
|
242 |
|
243 |
gr.Markdown("## Examples")
|
244 |
-
with gr.Row(
|
245 |
-
gr.
|
246 |
-
|
|
|
|
|
|
|
247 |
|
248 |
with gr.TabItem("Binary Tree"):
|
249 |
with gr.Row():
|
@@ -271,9 +295,14 @@ if __name__ == "__main__":
|
|
271 |
)
|
272 |
|
273 |
gr.Markdown("## Examples")
|
274 |
-
with gr.Row(
|
275 |
-
gr.
|
276 |
-
|
|
|
|
|
|
|
|
|
|
|
277 |
|
278 |
with gr.TabItem("WBS Diagram"):
|
279 |
with gr.Row():
|
@@ -301,9 +330,14 @@ if __name__ == "__main__":
|
|
301 |
)
|
302 |
|
303 |
gr.Markdown("## Examples")
|
304 |
-
with gr.Row(
|
305 |
-
gr.
|
306 |
-
|
|
|
|
|
|
|
|
|
|
|
307 |
|
308 |
with gr.TabItem("Synoptic Chart"):
|
309 |
with gr.Row():
|
@@ -331,9 +365,14 @@ if __name__ == "__main__":
|
|
331 |
)
|
332 |
|
333 |
gr.Markdown("## Examples")
|
334 |
-
with gr.Row(
|
335 |
-
gr.
|
336 |
-
|
|
|
|
|
|
|
|
|
|
|
337 |
|
338 |
with gr.TabItem("Process Flow"):
|
339 |
with gr.Row():
|
@@ -361,9 +400,18 @@ if __name__ == "__main__":
|
|
361 |
)
|
362 |
|
363 |
gr.Markdown("## Examples")
|
364 |
-
with gr.Row(
|
365 |
-
gr.
|
366 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
367 |
|
368 |
with gr.TabItem("Network Graph"):
|
369 |
with gr.Row():
|
@@ -391,14 +439,20 @@ if __name__ == "__main__":
|
|
391 |
)
|
392 |
|
393 |
gr.Markdown("## Examples")
|
394 |
-
with gr.Row(
|
395 |
-
gr.
|
396 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
397 |
|
398 |
demo.launch(
|
399 |
mcp_server=True,
|
400 |
share=False,
|
401 |
server_port=7860,
|
402 |
server_name="0.0.0.0"
|
403 |
-
)
|
404 |
-
|
|
|
117 |
gr.Image(value="./images/cd1.svg", label="Sample 1", show_label=True, interactive=False, height="auto")
|
118 |
gr.Image(value="./images/cd3.svg", label="Sample 3", show_label=True, interactive=False, height="auto")
|
119 |
gr.Image(value="./images/cd5.svg", label="Sample 5", show_label=True, interactive=False, height="auto")
|
120 |
+
gr.Image(value="./images/cd7.svg", label="Sample 7", show_label=True, interactive=False, height="auto")
|
121 |
|
122 |
with gr.Column(scale=1):
|
123 |
gr.Image(value="./images/cd2.svg", label="Sample 2", show_label=True, interactive=False, height="auto")
|
124 |
+
gr.Image(value="./images/cd4.svg", label="Sample 4", show_label=True, interactive=False, height="auto")
|
125 |
+
gr.Image(value="./images/cd6.svg", label="Sample 6", show_label=True, interactive=False, height="auto")
|
126 |
+
gr.Image(value="./images/cd8.svg", label="Sample 8", show_label=True, interactive=False, height="auto")
|
127 |
|
128 |
with gr.TabItem("Entity Relationship"):
|
129 |
with gr.Row():
|
|
|
150 |
outputs=output_er
|
151 |
)
|
152 |
|
153 |
+
gr.Markdown("## Examples")
|
154 |
+
with gr.Row():
|
155 |
+
with gr.Column(scale=1):
|
156 |
+
gr.Image(value="./images/er1.svg", label="Sample 1", show_label=True, interactive=False, height="auto")
|
157 |
+
gr.Image(value="./images/er3.svg", label="Sample 3", show_label=True, interactive=False, height="auto")
|
158 |
+
gr.Image(value="./images/er5.svg", label="Sample 5", show_label=True, interactive=False, height="auto")
|
159 |
+
|
160 |
+
with gr.Column(scale=1):
|
161 |
+
gr.Image(value="./images/er2.svg", label="Sample 2", show_label=True, interactive=False, height="auto")
|
162 |
+
gr.Image(value="./images/er4.svg", label="Sample 4", show_label=True, interactive=False, height="auto")
|
163 |
+
gr.Image(value="./images/er6.svg", label="Sample 6", show_label=True, interactive=False, height="auto")
|
164 |
|
165 |
with gr.TabItem("Radial Diagram"):
|
166 |
with gr.Row():
|
|
|
188 |
)
|
189 |
|
190 |
gr.Markdown("## Examples")
|
191 |
+
with gr.Row():
|
192 |
+
with gr.Column(scale=1):
|
193 |
+
gr.Image(value="./images/rd1.svg", label="Sample 1", show_label=True, interactive=False, height="auto")
|
194 |
+
gr.Image(value="./images/rd3.svg", label="Sample 3", show_label=True, interactive=False, height="auto")
|
195 |
+
gr.Image(value="./images/rd5.svg", label="Sample 5", show_label=True, interactive=False, height="auto")
|
196 |
+
|
197 |
+
with gr.Column(scale=1):
|
198 |
+
gr.Image(value="./images/rd2.svg", label="Sample 2", show_label=True, interactive=False, height="auto")
|
199 |
+
gr.Image(value="./images/rd4.svg", label="Sample 4", show_label=True, interactive=False, height="auto")
|
200 |
+
gr.Image(value="./images/rd6.svg", label="Sample 6", show_label=True, interactive=False, height="auto")
|
201 |
|
202 |
with gr.TabItem("Concept Map"):
|
203 |
with gr.Row():
|
|
|
225 |
)
|
226 |
|
227 |
gr.Markdown("## Examples")
|
228 |
+
with gr.Row():
|
229 |
+
with gr.Column(scale=1):
|
230 |
+
gr.Image(value="./images/cm1.svg", label="Sample 1", show_label=True, interactive=False, height="auto")
|
231 |
+
gr.Image(value="./images/cm3.svg", label="Sample 3", show_label=True, interactive=False, height="auto")
|
232 |
+
gr.Image(value="./images/cm5.svg", label="Sample 5", show_label=True, interactive=False, height="auto")
|
233 |
+
|
234 |
+
with gr.Column(scale=1):
|
235 |
+
gr.Image(value="./images/cm2.svg", label="Sample 2", show_label=True, interactive=False, height="auto")
|
236 |
+
gr.Image(value="./images/cm4.svg", label="Sample 4", show_label=True, interactive=False, height="auto")
|
237 |
+
gr.Image(value="./images/cm6.svg", label="Sample 6", show_label=True, interactive=False, height="auto")
|
238 |
|
239 |
with gr.TabItem("Timeline"):
|
240 |
with gr.Row():
|
|
|
262 |
)
|
263 |
|
264 |
gr.Markdown("## Examples")
|
265 |
+
with gr.Row():
|
266 |
+
with gr.Column(scale=1):
|
267 |
+
gr.Image(value="./images/tl1.svg", label="Sample 1", show_label=True, interactive=False, height="auto")
|
268 |
+
|
269 |
+
with gr.Column(scale=1):
|
270 |
+
gr.Image(value="./images/tl2.svg", label="Sample 2", show_label=True, interactive=False, height="auto")
|
271 |
|
272 |
with gr.TabItem("Binary Tree"):
|
273 |
with gr.Row():
|
|
|
295 |
)
|
296 |
|
297 |
gr.Markdown("## Examples")
|
298 |
+
with gr.Row():
|
299 |
+
with gr.Column(scale=1):
|
300 |
+
gr.Image(value="./images/bt1.svg", label="Sample 1", show_label=True, interactive=False, height="auto")
|
301 |
+
gr.Image(value="./images/bt3.svg", label="Sample 3", show_label=True, interactive=False, height="auto")
|
302 |
+
|
303 |
+
with gr.Column(scale=1):
|
304 |
+
gr.Image(value="./images/bt2.svg", label="Sample 2", show_label=True, interactive=False, height="auto")
|
305 |
+
gr.Image(value="./images/bt4.svg", label="Sample 4", show_label=True, interactive=False, height="auto")
|
306 |
|
307 |
with gr.TabItem("WBS Diagram"):
|
308 |
with gr.Row():
|
|
|
330 |
)
|
331 |
|
332 |
gr.Markdown("## Examples")
|
333 |
+
with gr.Row():
|
334 |
+
with gr.Column(scale=1):
|
335 |
+
gr.Image(value="./images/wd1.svg", label="Sample 1", show_label=True, interactive=False, height="auto")
|
336 |
+
gr.Image(value="./images/wd3.svg", label="Sample 3", show_label=True, interactive=False, height="auto")
|
337 |
+
|
338 |
+
with gr.Column(scale=1):
|
339 |
+
gr.Image(value="./images/wd2.svg", label="Sample 2", show_label=True, interactive=False, height="auto")
|
340 |
+
gr.Image(value="./images/wd4.svg", label="Sample 4", show_label=True, interactive=False, height="auto")
|
341 |
|
342 |
with gr.TabItem("Synoptic Chart"):
|
343 |
with gr.Row():
|
|
|
365 |
)
|
366 |
|
367 |
gr.Markdown("## Examples")
|
368 |
+
with gr.Row():
|
369 |
+
with gr.Column(scale=1):
|
370 |
+
gr.Image(value="./images/sc1.svg", label="Sample 1", show_label=True, interactive=False, height="auto")
|
371 |
+
gr.Image(value="./images/sc3.svg", label="Sample 3", show_label=True, interactive=False, height="auto")
|
372 |
+
|
373 |
+
with gr.Column(scale=1):
|
374 |
+
gr.Image(value="./images/sc2.svg", label="Sample 2", show_label=True, interactive=False, height="auto")
|
375 |
+
gr.Image(value="./images/sc4.svg", label="Sample 4", show_label=True, interactive=False, height="auto")
|
376 |
|
377 |
with gr.TabItem("Process Flow"):
|
378 |
with gr.Row():
|
|
|
400 |
)
|
401 |
|
402 |
gr.Markdown("## Examples")
|
403 |
+
with gr.Row():
|
404 |
+
with gr.Column(scale=1):
|
405 |
+
gr.Image(value="./images/pf1.svg", label="Sample 1", show_label=True, interactive=False, height="auto")
|
406 |
+
gr.Image(value="./images/pf2.svg", label="Sample 2", show_label=True, interactive=False, height="auto")
|
407 |
+
|
408 |
+
with gr.Column(scale=1):
|
409 |
+
gr.Image(value="./images/pf3.svg", label="Sample 3", show_label=True, interactive=False, height="auto")
|
410 |
+
gr.Image(value="./images/pf4.svg", label="Sample 4", show_label=True, interactive=False, height="auto")
|
411 |
+
|
412 |
+
with gr.Column(scale=1):
|
413 |
+
gr.Image(value="./images/pf5.svg", label="Sample 5", show_label=True, interactive=False, height="auto")
|
414 |
+
gr.Image(value="./images/pf6.svg", label="Sample 6", show_label=True, interactive=False, height="auto")
|
415 |
|
416 |
with gr.TabItem("Network Graph"):
|
417 |
with gr.Row():
|
|
|
439 |
)
|
440 |
|
441 |
gr.Markdown("## Examples")
|
442 |
+
with gr.Row():
|
443 |
+
with gr.Column(scale=1):
|
444 |
+
gr.Image(value="./images/ng1.svg", label="Sample 1", show_label=True, interactive=False, height="auto")
|
445 |
+
gr.Image(value="./images/ng3.svg", label="Sample 3", show_label=True, interactive=False, height="auto")
|
446 |
+
gr.Image(value="./images/ng5.svg", label="Sample 5", show_label=True, interactive=False, height="auto")
|
447 |
+
|
448 |
+
with gr.Column(scale=1):
|
449 |
+
gr.Image(value="./images/ng2.svg", label="Sample 2", show_label=True, interactive=False, height="auto")
|
450 |
+
gr.Image(value="./images/ng4.svg", label="Sample 4", show_label=True, interactive=False, height="auto")
|
451 |
+
gr.Image(value="./images/ng6.svg", label="Sample 6", show_label=True, interactive=False, height="auto")
|
452 |
|
453 |
demo.launch(
|
454 |
mcp_server=True,
|
455 |
share=False,
|
456 |
server_port=7860,
|
457 |
server_name="0.0.0.0"
|
458 |
+
)
|
|