Spaces:
Runtime error
Runtime error
RamAnanth1
commited on
Commit
•
8668409
1
Parent(s):
12c3587
Remove css
Browse files
app.py
CHANGED
@@ -71,87 +71,7 @@ def generate_relational_data(parent_file, child_file, join_on):
|
|
71 |
return parent_samples, child_samples, gr.update(visible = True)
|
72 |
|
73 |
|
74 |
-
|
75 |
-
css = """
|
76 |
-
.gradio-container {
|
77 |
-
font-family: 'IBM Plex Sans', sans-serif;
|
78 |
-
}
|
79 |
-
.gr-button {
|
80 |
-
color: white;
|
81 |
-
border-color: black;
|
82 |
-
background: black;
|
83 |
-
}
|
84 |
-
input[type='range'] {
|
85 |
-
accent-color: black;
|
86 |
-
}
|
87 |
-
.dark input[type='range'] {
|
88 |
-
accent-color: #dfdfdf;
|
89 |
-
}
|
90 |
-
.container {
|
91 |
-
max-width: 430px;
|
92 |
-
margin: auto;
|
93 |
-
padding-top: 1.5rem;
|
94 |
-
}
|
95 |
-
#gallery {
|
96 |
-
min-height: 22rem;
|
97 |
-
margin-bottom: 15px;
|
98 |
-
margin-left: auto;
|
99 |
-
margin-right: auto;
|
100 |
-
border-bottom-right-radius: .5rem !important;
|
101 |
-
border-bottom-left-radius: .5rem !important;
|
102 |
-
}
|
103 |
-
#gallery>div>.h-full {
|
104 |
-
min-height: 20rem;
|
105 |
-
}
|
106 |
-
.details:hover {
|
107 |
-
text-decoration: underline;
|
108 |
-
}
|
109 |
-
.gr-button {
|
110 |
-
white-space: nowrap;
|
111 |
-
}
|
112 |
-
.gr-button:focus {
|
113 |
-
border-color: rgb(147 197 253 / var(--tw-border-opacity));
|
114 |
-
outline: none;
|
115 |
-
box-shadow: var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow, 0 0 #0000);
|
116 |
-
--tw-border-opacity: 1;
|
117 |
-
--tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);
|
118 |
-
--tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(3px var(--tw-ring-offset-width)) var(--tw-ring-color);
|
119 |
-
--tw-ring-color: rgb(191 219 254 / var(--tw-ring-opacity));
|
120 |
-
--tw-ring-opacity: .5;
|
121 |
-
}
|
122 |
-
#advanced-btn {
|
123 |
-
font-size: .7rem !important;
|
124 |
-
line-height: 19px;
|
125 |
-
margin-top: 12px;
|
126 |
-
margin-bottom: 12px;
|
127 |
-
padding: 2px 8px;
|
128 |
-
border-radius: 14px !important;
|
129 |
-
}
|
130 |
-
#advanced-options {
|
131 |
-
display: none;
|
132 |
-
margin-bottom: 20px;
|
133 |
-
}
|
134 |
-
.footer {
|
135 |
-
margin-bottom: 45px;
|
136 |
-
margin-top: 35px;
|
137 |
-
text-align: center;
|
138 |
-
border-bottom: 1px solid #e5e5e5;
|
139 |
-
}
|
140 |
-
.footer>p {
|
141 |
-
font-size: .8rem;
|
142 |
-
display: inline-block;
|
143 |
-
padding: 0 10px;
|
144 |
-
transform: translateY(10px);
|
145 |
-
background: white;
|
146 |
-
}
|
147 |
-
.dark .footer {
|
148 |
-
border-color: #303030;
|
149 |
-
}
|
150 |
-
.dark .footer>p {
|
151 |
-
background: #0b0f19;
|
152 |
-
}
|
153 |
-
"""
|
154 |
-
with gr.Blocks(css = css) as demo:
|
155 |
gr.Markdown("""
|
156 |
## REaLTabFormer: Generating Realistic Relational and Tabular Data using Transformers
|
157 |
""")
|
|
|
71 |
return parent_samples, child_samples, gr.update(visible = True)
|
72 |
|
73 |
|
74 |
+
with gr.Blocks() as demo:
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
75 |
gr.Markdown("""
|
76 |
## REaLTabFormer: Generating Realistic Relational and Tabular Data using Transformers
|
77 |
""")
|