Spaces:
Sleeping
Sleeping
ngoctuanai
commited on
Commit
•
4c3811e
1
Parent(s):
91ef084
Update app.py
Browse files
app.py
CHANGED
@@ -133,6 +133,13 @@ css = """
|
|
133 |
border-radius: 12px; /* Rounded corners for the gallery */
|
134 |
}
|
135 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
136 |
/* Reduce image size */
|
137 |
.gradio-container img {
|
138 |
max-width: 50%; /* Adjust the percentage to make images smaller */
|
|
|
133 |
border-radius: 12px; /* Rounded corners for the gallery */
|
134 |
}
|
135 |
|
136 |
+
/* Automatically adjust photo size */
|
137 |
+
#gallery img {
|
138 |
+
max-width: 100%; /* Ảnh không vượt quá 100% chiều rộng của #gallery */
|
139 |
+
height: auto; /* Giữ tỷ lệ khung hình */
|
140 |
+
}
|
141 |
+
|
142 |
+
|
143 |
/* Reduce image size */
|
144 |
.gradio-container img {
|
145 |
max-width: 50%; /* Adjust the percentage to make images smaller */
|