ArseniyPerchik commited on
Commit
4f64249
·
1 Parent(s): 49baf11
Files changed (1) hide show
  1. app.py +8 -1
app.py CHANGED
@@ -36,13 +36,20 @@ with gr.Blocks(css=custom_css) as demo:
36
  input_start_locations = gr.Textbox(label='Start locations config:')
37
  input_goal_locations = gr.Textbox(label='Goal locations config:')
38
  solve_btn = gr.Button("Solve", variant='primary')
 
 
 
 
39
  with gr.Column(scale=12):
40
  gr.Markdown("## Output Result")
 
 
41
  with gr.Row():
42
  output_soc = gr.Number(label='Sum-of-Costs:', interactive=False)
43
  output_makespan = gr.Number(label='Makespan:', interactive=False)
44
  output_rt = gr.Number(label='Runtime:', interactive=False)
45
- output_env = gr.Video(label="Solution:", autoplay=True, interactive=False)
 
46
  with gr.Accordion("TODO List", open=False):
47
  gr.Markdown("""
48
  ## PLAN
 
36
  input_start_locations = gr.Textbox(label='Start locations config:')
37
  input_goal_locations = gr.Textbox(label='Goal locations config:')
38
  solve_btn = gr.Button("Solve", variant='primary')
39
+ gr.Markdown("Example inputs:")
40
+ ex1_btn = gr.Button("Example 1")
41
+ ex2_btn = gr.Button("Example 2")
42
+ ex3_btn = gr.Button("Example 3")
43
  with gr.Column(scale=12):
44
  gr.Markdown("## Output Result")
45
+ output_alg = gr.Textbox(label='Chosen algorithm:', interactive=False)
46
+ output_sol = gr.Textbox(label='Solution:', interactive=False)
47
  with gr.Row():
48
  output_soc = gr.Number(label='Sum-of-Costs:', interactive=False)
49
  output_makespan = gr.Number(label='Makespan:', interactive=False)
50
  output_rt = gr.Number(label='Runtime:', interactive=False)
51
+ output_env = gr.Video(label="Solution illustration:", autoplay=True, interactive=False)
52
+ output_expl = gr.Textbox(label='Explanation:', interactive=False)
53
  with gr.Accordion("TODO List", open=False):
54
  gr.Markdown("""
55
  ## PLAN