Spaces:
Runtime error
Runtime error
jayavibhav
commited on
Commit
•
56a13e8
1
Parent(s):
b6a681e
Upload 2 files
Browse files- requirements.txt +4 -0
- style.css +84 -0
requirements.txt
ADDED
@@ -0,0 +1,4 @@
|
|
|
|
|
|
|
|
|
|
|
1 |
+
accelerate==0.12.0
|
2 |
+
gradio
|
3 |
+
xformers
|
4 |
+
emoji
|
style.css
ADDED
@@ -0,0 +1,84 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
#col-container {
|
2 |
+
max-width: 800px;
|
3 |
+
margin-left: auto;
|
4 |
+
margin-right: auto;
|
5 |
+
}
|
6 |
+
a {
|
7 |
+
color: inherit;
|
8 |
+
text-decoration: underline;
|
9 |
+
}
|
10 |
+
.gradio-container {
|
11 |
+
font-family: 'IBM Plex Sans', sans-serif;
|
12 |
+
}
|
13 |
+
.gr-button {
|
14 |
+
color: white;
|
15 |
+
border-color: #9d66e5;
|
16 |
+
background: #9d66e5;
|
17 |
+
}
|
18 |
+
input[type='range'] {
|
19 |
+
accent-color: #9d66e5;
|
20 |
+
}
|
21 |
+
.dark input[type='range'] {
|
22 |
+
accent-color: #dfdfdf;
|
23 |
+
}
|
24 |
+
.container {
|
25 |
+
max-width: 800px;
|
26 |
+
margin: auto;
|
27 |
+
padding-top: 1.5rem;
|
28 |
+
}
|
29 |
+
#gallery {
|
30 |
+
min-height: 22rem;
|
31 |
+
margin-bottom: 15px;
|
32 |
+
margin-left: auto;
|
33 |
+
margin-right: auto;
|
34 |
+
border-bottom-right-radius: .5rem !important;
|
35 |
+
border-bottom-left-radius: .5rem !important;
|
36 |
+
}
|
37 |
+
#gallery>div>.h-full {
|
38 |
+
min-height: 20rem;
|
39 |
+
}
|
40 |
+
.details:hover {
|
41 |
+
text-decoration: underline;
|
42 |
+
}
|
43 |
+
.gr-button {
|
44 |
+
white-space: nowrap;
|
45 |
+
}
|
46 |
+
.gr-button:focus {
|
47 |
+
border-color: rgb(147 197 253 / var(--tw-border-opacity));
|
48 |
+
outline: none;
|
49 |
+
box-shadow: var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow, 0 0 #0000);
|
50 |
+
--tw-border-opacity: 1;
|
51 |
+
--tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);
|
52 |
+
--tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(3px var(--tw-ring-offset-width)) var(--tw-ring-color);
|
53 |
+
--tw-ring-color: rgb(191 219 254 / var(--tw-ring-opacity));
|
54 |
+
--tw-ring-opacity: .5;
|
55 |
+
}
|
56 |
+
#advanced-options {
|
57 |
+
margin-bottom: 20px;
|
58 |
+
}
|
59 |
+
.footer {
|
60 |
+
margin-bottom: 45px;
|
61 |
+
margin-top: 35px;
|
62 |
+
text-align: center;
|
63 |
+
border-bottom: 1px solid #e5e5e5;
|
64 |
+
}
|
65 |
+
.footer>p {
|
66 |
+
font-size: .8rem;
|
67 |
+
display: inline-block;
|
68 |
+
padding: 0 10px;
|
69 |
+
transform: translateY(10px);
|
70 |
+
background: white;
|
71 |
+
}
|
72 |
+
.dark .logo{ filter: invert(1); }
|
73 |
+
.dark .footer {
|
74 |
+
border-color: #303030;
|
75 |
+
}
|
76 |
+
.dark .footer>p {
|
77 |
+
background: #0b0f19;
|
78 |
+
}
|
79 |
+
.acknowledgments h4{
|
80 |
+
margin: 1.25em 0 .25em 0;
|
81 |
+
font-weight: bold;
|
82 |
+
font-size: 115%;
|
83 |
+
}
|
84 |
+
|