Spaces:
Running
on
Zero
Running
on
Zero
mrbeliever
commited on
Commit
•
9adc3f1
1
Parent(s):
c618582
Update app.py
Browse files
app.py
CHANGED
@@ -52,30 +52,38 @@ def read_file(path: str) -> str:
|
|
52 |
return content
|
53 |
|
54 |
css = """
|
55 |
-
#
|
56 |
-
margin: 0 auto;
|
57 |
-
max-width: 640px;
|
58 |
-
}
|
59 |
-
.grid-container {
|
60 |
-
display: flex;
|
61 |
-
align-items: center;
|
62 |
-
justify-content: center;
|
63 |
-
gap: 10px;
|
64 |
-
}
|
65 |
-
.image, .button {
|
66 |
border: 4px solid black;
|
67 |
border-radius: 8px;
|
68 |
-
|
|
|
|
|
69 |
}
|
70 |
-
|
|
|
|
|
|
|
71 |
width: 256px;
|
72 |
height: 256px;
|
73 |
object-fit: cover;
|
74 |
}
|
|
|
75 |
#run_button {
|
76 |
font-weight: bold;
|
77 |
border: 4px solid black;
|
78 |
border-radius: 8px;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
79 |
}
|
80 |
.text {
|
81 |
font-size: 16px;
|
|
|
52 |
return content
|
53 |
|
54 |
css = """
|
55 |
+
#demo-container {
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
56 |
border: 4px solid black;
|
57 |
border-radius: 8px;
|
58 |
+
padding: 20px;
|
59 |
+
margin: 20px auto;
|
60 |
+
max-width: 800px;
|
61 |
}
|
62 |
+
|
63 |
+
#image_upload, #output-img {
|
64 |
+
border: 4px solid black;
|
65 |
+
border-radius: 8px;
|
66 |
width: 256px;
|
67 |
height: 256px;
|
68 |
object-fit: cover;
|
69 |
}
|
70 |
+
|
71 |
#run_button {
|
72 |
font-weight: bold;
|
73 |
border: 4px solid black;
|
74 |
border-radius: 8px;
|
75 |
+
padding: 10px 20px;
|
76 |
+
}
|
77 |
+
|
78 |
+
#col-left, #col-right {
|
79 |
+
max-width: 640px;
|
80 |
+
margin: 0 auto;
|
81 |
+
}
|
82 |
+
.grid-container {
|
83 |
+
display: flex;
|
84 |
+
align-items: center;
|
85 |
+
justify-content: center;
|
86 |
+
gap: 10px;
|
87 |
}
|
88 |
.text {
|
89 |
font-size: 16px;
|