init
Browse files
app.py
CHANGED
|
@@ -374,15 +374,26 @@ with gr.Blocks(css=custom_css) as demo:
|
|
| 374 |
pitch = gr.Slider(minimum=-0.7854, maximum=0.7854, value=-0.1000, step=0.1000, label="pitch value")
|
| 375 |
fov = gr.Slider(minimum=0.3491, maximum=1.8326, value=1.5000, step=0.1000, label="fov value")
|
| 376 |
with gr.Accordion("Settings", open=True):
|
| 377 |
-
with gr.Row():
|
| 378 |
-
thinking_gen = gr.
|
| 379 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 380 |
|
| 381 |
generation_button = gr.Button("Generate Images")
|
| 382 |
|
| 383 |
image_output = gr.Gallery(label="Generated images", columns=4, rows=1)
|
| 384 |
|
| 385 |
-
output_reasoning = gr.Textbox(label="
|
| 386 |
|
| 387 |
examples_t2i = gr.Examples(
|
| 388 |
label="Prompt examples",
|
|
@@ -420,7 +431,7 @@ with gr.Blocks(css=custom_css) as demo:
|
|
| 420 |
understanding_button = gr.Button("Chat")
|
| 421 |
understanding_output = gr.Textbox(label="Response")
|
| 422 |
|
| 423 |
-
camera_map = gr.Image(label="Camera maps (up vector
|
| 424 |
|
| 425 |
examples_inpainting = gr.Examples(
|
| 426 |
label="Examples",
|
|
|
|
| 374 |
pitch = gr.Slider(minimum=-0.7854, maximum=0.7854, value=-0.1000, step=0.1000, label="pitch value")
|
| 375 |
fov = gr.Slider(minimum=0.3491, maximum=1.8326, value=1.5000, step=0.1000, label="fov value")
|
| 376 |
with gr.Accordion("Settings", open=True):
|
| 377 |
+
with gr.Row(equal_height=True):
|
| 378 |
+
thinking_gen = gr.Radio(
|
| 379 |
+
["Thinking"],
|
| 380 |
+
label=None,
|
| 381 |
+
value=None,
|
| 382 |
+
show_label=False,
|
| 383 |
+
interactive=True
|
| 384 |
+
)
|
| 385 |
+
|
| 386 |
+
seed_input = gr.Number(
|
| 387 |
+
label="Seed (Optional)",
|
| 388 |
+
precision=0,
|
| 389 |
+
value=42
|
| 390 |
+
)
|
| 391 |
|
| 392 |
generation_button = gr.Button("Generate Images")
|
| 393 |
|
| 394 |
image_output = gr.Gallery(label="Generated images", columns=4, rows=1)
|
| 395 |
|
| 396 |
+
output_reasoning = gr.Textbox(label="Response")
|
| 397 |
|
| 398 |
examples_t2i = gr.Examples(
|
| 399 |
label="Prompt examples",
|
|
|
|
| 431 |
understanding_button = gr.Button("Chat")
|
| 432 |
understanding_output = gr.Textbox(label="Response")
|
| 433 |
|
| 434 |
+
camera_map = gr.Image(label="Camera maps (up vector & latitude)")
|
| 435 |
|
| 436 |
examples_inpainting = gr.Examples(
|
| 437 |
label="Examples",
|