Spaces:
Running
Running
Commit
·
edaf1d3
1
Parent(s):
5f13e39
Update app.py
Browse files
app.py
CHANGED
@@ -72,7 +72,6 @@ def generate_txt2img(current_model, prompt, is_negative=False, image_style="None
|
|
72 |
image = Image.open(io.BytesIO(image_bytes))
|
73 |
return image
|
74 |
|
75 |
-
|
76 |
css = """
|
77 |
/* Custom CSS */
|
78 |
.gradio-container {
|
@@ -147,6 +146,7 @@ css = """
|
|
147 |
max-width: 50%; /* Images don't exceed 50% of the gallery's width */
|
148 |
height: auto; /* Maintain aspect ratio */
|
149 |
}
|
|
|
150 |
"""
|
151 |
|
152 |
# Creating Gradio interface
|
|
|
72 |
image = Image.open(io.BytesIO(image_bytes))
|
73 |
return image
|
74 |
|
|
|
75 |
css = """
|
76 |
/* Custom CSS */
|
77 |
.gradio-container {
|
|
|
146 |
max-width: 50%; /* Images don't exceed 50% of the gallery's width */
|
147 |
height: auto; /* Maintain aspect ratio */
|
148 |
}
|
149 |
+
|
150 |
"""
|
151 |
|
152 |
# Creating Gradio interface
|