Update app.py
Browse files
app.py
CHANGED
@@ -98,7 +98,7 @@ def update_history(new_images, history):
|
|
98 |
def clear_result():
|
99 |
return gr.update(value=[]), gr.update(value=None)
|
100 |
|
101 |
-
#
|
102 |
custom_css = """
|
103 |
.gr-button {margin: 5px;}
|
104 |
.output-image {border-radius: 8px;}
|
@@ -107,7 +107,6 @@ custom_css = """
|
|
107 |
.gr-textbox {width: 100%;}
|
108 |
.example-row {margin-top: 20px;}
|
109 |
.example-button {white-space: normal; height: auto; min-height: 60px;}
|
110 |
-
/* Center the Generated Images gallery */
|
111 |
#output-gallery {
|
112 |
display: block;
|
113 |
width: 100%;
|
|
|
98 |
def clear_result():
|
99 |
return gr.update(value=[]), gr.update(value=None)
|
100 |
|
101 |
+
# css for layout
|
102 |
custom_css = """
|
103 |
.gr-button {margin: 5px;}
|
104 |
.output-image {border-radius: 8px;}
|
|
|
107 |
.gr-textbox {width: 100%;}
|
108 |
.example-row {margin-top: 20px;}
|
109 |
.example-button {white-space: normal; height: auto; min-height: 60px;}
|
|
|
110 |
#output-gallery {
|
111 |
display: block;
|
112 |
width: 100%;
|