Spaces:
Running
Running
Yaron Koresh
commited on
Update app.py
Browse files
app.py
CHANGED
@@ -78,7 +78,7 @@ accu=10
|
|
78 |
|
79 |
# ui data
|
80 |
|
81 |
-
css="""
|
82 |
input, input::placeholder {
|
83 |
text-align: center !important;
|
84 |
}
|
@@ -97,7 +97,7 @@ footer {
|
|
97 |
max-width: 15cm;
|
98 |
}
|
99 |
.image-container {
|
100 |
-
aspect-ratio: """
|
101 |
}
|
102 |
.dropdown-arrow {
|
103 |
display: none !important;
|
@@ -110,7 +110,7 @@ footer {
|
|
110 |
.btn {
|
111 |
display: flex;
|
112 |
}
|
113 |
-
"""
|
114 |
|
115 |
js="""
|
116 |
function custom(){
|
|
|
78 |
|
79 |
# ui data
|
80 |
|
81 |
+
css="".join(["""
|
82 |
input, input::placeholder {
|
83 |
text-align: center !important;
|
84 |
}
|
|
|
97 |
max-width: 15cm;
|
98 |
}
|
99 |
.image-container {
|
100 |
+
aspect-ratio: """,str(width),"/",str(height),""" !important;
|
101 |
}
|
102 |
.dropdown-arrow {
|
103 |
display: none !important;
|
|
|
110 |
.btn {
|
111 |
display: flex;
|
112 |
}
|
113 |
+
"""])
|
114 |
|
115 |
js="""
|
116 |
function custom(){
|