Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -270,6 +270,7 @@ def image_processing(image, filter_type):
|
|
270 |
output = image
|
271 |
|
272 |
return cv2.cvtColor(output, cv2.COLOR_BGR2RGB) if len(output.shape) == 3 else output
|
|
|
273 |
|
274 |
css = """
|
275 |
#app-container {
|
@@ -322,8 +323,9 @@ with gr.Blocks(theme=theme, css=css) as app:
|
|
322 |
inputs=[image_input, filter_type],
|
323 |
outputs=image_output
|
324 |
)
|
325 |
-
with gr.Tab("Image"):
|
326 |
-
|
327 |
-
|
|
|
328 |
|
329 |
app.launch(share=True)
|
|
|
270 |
output = image
|
271 |
|
272 |
return cv2.cvtColor(output, cv2.COLOR_BGR2RGB) if len(output.shape) == 3 else output
|
273 |
+
|
274 |
|
275 |
css = """
|
276 |
#app-container {
|
|
|
323 |
inputs=[image_input, filter_type],
|
324 |
outputs=image_output
|
325 |
)
|
326 |
+
with gr.Tab("Text to Image"):
|
327 |
+
|
328 |
+
# gr.load("models/digiplay/AnalogMadness-realistic-model-v7")
|
329 |
+
gr.load("models/XLabs-AI/flux-RealismLora")
|
330 |
|
331 |
app.launch(share=True)
|