Spaces:
Runtime error
Runtime error
ui update
Browse files
app.py
CHANGED
|
@@ -135,6 +135,7 @@ with gr.Blocks(title="Generative Photography") as demo:
|
|
| 135 |
scene_input_bokeh = gr.Textbox(label="Scene Description", placeholder="Describe the scene you want to generate...")
|
| 136 |
bokeh_input = gr.Textbox(label="Bokeh Blur Values", placeholder="Enter 5 comma-separated values from 1-30, e.g., [2.44, 8.3, 10.1, 17.2, 24.0]")
|
| 137 |
submit_bokeh = gr.Button("Generate Frames")
|
|
|
|
| 138 |
with gr.Column():
|
| 139 |
video_output_bokeh = gr.Video(label="Generated Frames")
|
| 140 |
gr.Examples(bokeh_examples, [scene_input_bokeh, bokeh_input], [video_output_bokeh], generate_bokeh_video)
|
|
@@ -147,6 +148,7 @@ with gr.Blocks(title="Generative Photography") as demo:
|
|
| 147 |
scene_input_focal = gr.Textbox(label="Scene Description", placeholder="Describe the scene you want to generate...")
|
| 148 |
focal_input = gr.Textbox(label="Focal Length Values", placeholder="Enter 5 comma-separated values from 24-70, e.g., [25.1, 30.2, 33.3, 40.8, 54.0]")
|
| 149 |
submit_focal = gr.Button("Generate Frames")
|
|
|
|
| 150 |
with gr.Column():
|
| 151 |
video_output_focal = gr.Video(label="Generated Frames")
|
| 152 |
gr.Examples(focal_examples, [scene_input_focal, focal_input], [video_output_focal], generate_focal_video)
|
|
@@ -159,6 +161,7 @@ with gr.Blocks(title="Generative Photography") as demo:
|
|
| 159 |
scene_input_shutter = gr.Textbox(label="Scene Description", placeholder="Describe the scene you want to generate...")
|
| 160 |
shutter_input = gr.Textbox(label="Shutter Speed Values", placeholder="Enter 5 comma-separated values from 0.1-1.0, e.g., [0.15, 0.32, 0.53, 0.62, 0.82]")
|
| 161 |
submit_shutter = gr.Button("Generate Frames")
|
|
|
|
| 162 |
with gr.Column():
|
| 163 |
video_output_shutter = gr.Video(label="Generated Frames")
|
| 164 |
gr.Examples(shutter_examples, [scene_input_shutter, shutter_input], [video_output_shutter], generate_shutter_video)
|
|
@@ -171,6 +174,7 @@ with gr.Blocks(title="Generative Photography") as demo:
|
|
| 171 |
scene_input_color = gr.Textbox(label="Scene Description", placeholder="Describe the scene you want to generate...")
|
| 172 |
color_input = gr.Textbox(label="Color Temperature Values", placeholder="Enter 5 comma-separated values from 2000-10000, e.g., [3001.3, 4000.2, 4400.34, 5488.23, 8888.82]")
|
| 173 |
submit_color = gr.Button("Generate Frames")
|
|
|
|
| 174 |
with gr.Column():
|
| 175 |
video_output_color = gr.Video(label="Generated Frames")
|
| 176 |
gr.Examples(color_examples, [scene_input_color, color_input], [video_output_color], generate_color_video)
|
|
|
|
| 135 |
scene_input_bokeh = gr.Textbox(label="Scene Description", placeholder="Describe the scene you want to generate...")
|
| 136 |
bokeh_input = gr.Textbox(label="Bokeh Blur Values", placeholder="Enter 5 comma-separated values from 1-30, e.g., [2.44, 8.3, 10.1, 17.2, 24.0]")
|
| 137 |
submit_bokeh = gr.Button("Generate Frames")
|
| 138 |
+
gr.Markdown("π‘ *You can click on the examples below to automatically fill in the input fields!*")
|
| 139 |
with gr.Column():
|
| 140 |
video_output_bokeh = gr.Video(label="Generated Frames")
|
| 141 |
gr.Examples(bokeh_examples, [scene_input_bokeh, bokeh_input], [video_output_bokeh], generate_bokeh_video)
|
|
|
|
| 148 |
scene_input_focal = gr.Textbox(label="Scene Description", placeholder="Describe the scene you want to generate...")
|
| 149 |
focal_input = gr.Textbox(label="Focal Length Values", placeholder="Enter 5 comma-separated values from 24-70, e.g., [25.1, 30.2, 33.3, 40.8, 54.0]")
|
| 150 |
submit_focal = gr.Button("Generate Frames")
|
| 151 |
+
gr.Markdown("π‘ *You can click on the examples below to automatically fill in the input fields!*")
|
| 152 |
with gr.Column():
|
| 153 |
video_output_focal = gr.Video(label="Generated Frames")
|
| 154 |
gr.Examples(focal_examples, [scene_input_focal, focal_input], [video_output_focal], generate_focal_video)
|
|
|
|
| 161 |
scene_input_shutter = gr.Textbox(label="Scene Description", placeholder="Describe the scene you want to generate...")
|
| 162 |
shutter_input = gr.Textbox(label="Shutter Speed Values", placeholder="Enter 5 comma-separated values from 0.1-1.0, e.g., [0.15, 0.32, 0.53, 0.62, 0.82]")
|
| 163 |
submit_shutter = gr.Button("Generate Frames")
|
| 164 |
+
gr.Markdown("π‘ *You can click on the examples below to automatically fill in the input fields!*")
|
| 165 |
with gr.Column():
|
| 166 |
video_output_shutter = gr.Video(label="Generated Frames")
|
| 167 |
gr.Examples(shutter_examples, [scene_input_shutter, shutter_input], [video_output_shutter], generate_shutter_video)
|
|
|
|
| 174 |
scene_input_color = gr.Textbox(label="Scene Description", placeholder="Describe the scene you want to generate...")
|
| 175 |
color_input = gr.Textbox(label="Color Temperature Values", placeholder="Enter 5 comma-separated values from 2000-10000, e.g., [3001.3, 4000.2, 4400.34, 5488.23, 8888.82]")
|
| 176 |
submit_color = gr.Button("Generate Frames")
|
| 177 |
+
gr.Markdown("π‘ *You can click on the examples below to automatically fill in the input fields!*")
|
| 178 |
with gr.Column():
|
| 179 |
video_output_color = gr.Video(label="Generated Frames")
|
| 180 |
gr.Examples(color_examples, [scene_input_color, color_input], [video_output_color], generate_color_video)
|