Spaces:
Build error
Build error
Update app.py
Browse files
app.py
CHANGED
|
@@ -335,9 +335,10 @@ with gr.Blocks(theme=theme, css=css) as app:
|
|
| 335 |
)
|
| 336 |
|
| 337 |
with gr.Tab("Text to Image"):
|
| 338 |
-
|
| 339 |
-
|
| 340 |
-
|
|
|
|
| 341 |
with gr.Tab("Flip Image"):
|
| 342 |
with gr.Row():
|
| 343 |
image_input = gr.Image(type="numpy", label="Upload Image")
|
|
|
|
| 335 |
)
|
| 336 |
|
| 337 |
with gr.Tab("Text to Image"):
|
| 338 |
+
gr.HTML("<center><h6>ℹ️ Please do not run the models at the same time, the models are currently running on the CPU, which might affect performance.</h6></center>")
|
| 339 |
+
model1 = gr.load("models/XLabs-AI/flux-RealismLora")
|
| 340 |
+
model2 = gr.load("models/hugovntr/flux-schnell-realism")
|
| 341 |
+
|
| 342 |
with gr.Tab("Flip Image"):
|
| 343 |
with gr.Row():
|
| 344 |
image_input = gr.Image(type="numpy", label="Upload Image")
|