refactor: change theme and model options
Browse files
app.py
CHANGED
|
@@ -61,7 +61,7 @@ def generate(images, model_choice):
|
|
| 61 |
return outputs
|
| 62 |
|
| 63 |
|
| 64 |
-
with gr.Blocks(theme=gr.themes.
|
| 65 |
gr.Markdown("## 🔥 Multi-API Image-to-Image Generator")
|
| 66 |
|
| 67 |
with gr.Row(equal_height=True):
|
|
@@ -69,7 +69,14 @@ with gr.Blocks(theme=gr.themes.Soft()) as demo:
|
|
| 69 |
with gr.Column(scale=1):
|
| 70 |
image_input = gr.File(file_count="multiple", label="Upload your images")
|
| 71 |
model_choice = gr.Dropdown(
|
| 72 |
-
[
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 73 |
value="Flux Kontext Pro",
|
| 74 |
label="Select Model",
|
| 75 |
)
|
|
|
|
| 61 |
return outputs
|
| 62 |
|
| 63 |
|
| 64 |
+
with gr.Blocks(theme=gr.themes.Glass()) as demo:
|
| 65 |
gr.Markdown("## 🔥 Multi-API Image-to-Image Generator")
|
| 66 |
|
| 67 |
with gr.Row(equal_height=True):
|
|
|
|
| 69 |
with gr.Column(scale=1):
|
| 70 |
image_input = gr.File(file_count="multiple", label="Upload your images")
|
| 71 |
model_choice = gr.Dropdown(
|
| 72 |
+
[
|
| 73 |
+
"Flux Kontext Pro",
|
| 74 |
+
"Flux Kontext MAX",
|
| 75 |
+
"Wan 2.5",
|
| 76 |
+
"Qwen 3",
|
| 77 |
+
"Nano Banana",
|
| 78 |
+
"GPT",
|
| 79 |
+
],
|
| 80 |
value="Flux Kontext Pro",
|
| 81 |
label="Select Model",
|
| 82 |
)
|