turn-the-cam-anonymous commited on
Commit
25c2b18
1 Parent(s): 2add774

small changes

Browse files
Files changed (1) hide show
  1. app.py +4 -4
app.py CHANGED
@@ -39,7 +39,7 @@ with gr.Blocks() as demo:
39
  gr.Slider(-30, 30, value=0, step=30, label='Polar angle (vertical rotation in degrees)'),
40
  gr.Slider(0, 330, value=0, step=30, label='Azimuth angle (horizontal rotation in degrees)'),
41
  gr.Slider(-0.5, 0.5, value=0, step=0.5, label='Zoom'),
42
- gr.Slider(1, 4, value=1, step=1, label='Random seed')]
43
 
44
  submit_button = gr.Button("Get Novel View")
45
  retrieve_novel_view_dataset = partial(retrieve_novel_view, 'nerf_wild')
@@ -62,7 +62,7 @@ with gr.Blocks() as demo:
62
  gr.Slider(-30, 30, value=0, step=30, label='Polar angle (vertical rotation in degrees)'),
63
  gr.Slider(0, 330, value=0, step=30, label='Azimuth angle (horizontal rotation in degrees)'),
64
  gr.Slider(-0.5, 0.5, value=0, step=0.5, label='Zoom'),
65
- gr.Slider(1, 4, value=1, step=1, label='Random seed')]
66
 
67
  submit_button = gr.Button("Get Novel View")
68
  retrieve_novel_view_dataset = partial(retrieve_novel_view, 'GSO')
@@ -85,9 +85,9 @@ with gr.Blocks() as demo:
85
  gr.Slider(-30, 30, value=0, step=30, label='Polar angle (vertical rotation in degrees)'),
86
  gr.Slider(0, 330, value=0, step=30, label='Azimuth angle (horizontal rotation in degrees)'),
87
  gr.Slider(-0.5, 0.5, value=0, step=0.5, label='Zoom'),
88
- gr.Slider(1, 4, value=1, step=1, label='Random seed')]
89
 
90
- submit_button = gr.Button("Get Novel View")
91
  retrieve_novel_view_dataset = partial(retrieve_novel_view, 'RTMV')
92
  submit_button.click(retrieve_novel_view_dataset, inputs=inputs, outputs=novel_view)
93
 
 
39
  gr.Slider(-30, 30, value=0, step=30, label='Polar angle (vertical rotation in degrees)'),
40
  gr.Slider(0, 330, value=0, step=30, label='Azimuth angle (horizontal rotation in degrees)'),
41
  gr.Slider(-0.5, 0.5, value=0, step=0.5, label='Zoom'),
42
+ gr.Slider(0, 3, value=1, step=1, label='Random seed')]
43
 
44
  submit_button = gr.Button("Get Novel View")
45
  retrieve_novel_view_dataset = partial(retrieve_novel_view, 'nerf_wild')
 
62
  gr.Slider(-30, 30, value=0, step=30, label='Polar angle (vertical rotation in degrees)'),
63
  gr.Slider(0, 330, value=0, step=30, label='Azimuth angle (horizontal rotation in degrees)'),
64
  gr.Slider(-0.5, 0.5, value=0, step=0.5, label='Zoom'),
65
+ gr.Slider(0, 3, value=1, step=1, label='Random seed')]
66
 
67
  submit_button = gr.Button("Get Novel View")
68
  retrieve_novel_view_dataset = partial(retrieve_novel_view, 'GSO')
 
85
  gr.Slider(-30, 30, value=0, step=30, label='Polar angle (vertical rotation in degrees)'),
86
  gr.Slider(0, 330, value=0, step=30, label='Azimuth angle (horizontal rotation in degrees)'),
87
  gr.Slider(-0.5, 0.5, value=0, step=0.5, label='Zoom'),
88
+ gr.Slider(0, 3, value=1, step=1, label='Random seed')]
89
 
90
+ submit_button = gr.Button("Generate Novel View")
91
  retrieve_novel_view_dataset = partial(retrieve_novel_view, 'RTMV')
92
  submit_button.click(retrieve_novel_view_dataset, inputs=inputs, outputs=novel_view)
93