Spaces:
Paused
Paused
Update app.py
Browse files
app.py
CHANGED
|
@@ -149,41 +149,7 @@ def dataset_converter(input_file, conversion_type, parquet_url):
|
|
| 149 |
)
|
| 150 |
return output_file, info_message
|
| 151 |
|
| 152 |
-
|
| 153 |
-
custom_css = """
|
| 154 |
-
body {
|
| 155 |
-
background-color: #f4f4f4;
|
| 156 |
-
font-family: 'Helvetica Neue', Arial, sans-serif;
|
| 157 |
-
}
|
| 158 |
-
.gradio-container {
|
| 159 |
-
max-width: 1000px;
|
| 160 |
-
margin: 40px auto;
|
| 161 |
-
padding: 20px;
|
| 162 |
-
background-color: #ffffff;
|
| 163 |
-
border-radius: 12px;
|
| 164 |
-
box-shadow: 0 8px 16px rgba(0,0,0,0.1);
|
| 165 |
-
}
|
| 166 |
-
h1, h2 {
|
| 167 |
-
color: #333333;
|
| 168 |
-
}
|
| 169 |
-
.gradio-input, .gradio-output {
|
| 170 |
-
margin-bottom: 20px;
|
| 171 |
-
}
|
| 172 |
-
.gradio-button {
|
| 173 |
-
background-color: #4CAF50 !important;
|
| 174 |
-
color: white !important;
|
| 175 |
-
border: none !important;
|
| 176 |
-
padding: 10px 20px !important;
|
| 177 |
-
font-size: 16px !important;
|
| 178 |
-
border-radius: 6px !important;
|
| 179 |
-
cursor: pointer;
|
| 180 |
-
}
|
| 181 |
-
.gradio-button:hover {
|
| 182 |
-
background-color: #45a049 !important;
|
| 183 |
-
}
|
| 184 |
-
"""
|
| 185 |
-
|
| 186 |
-
with gr.Blocks(css=custom_css, title="Datasets Convertor") as demo:
|
| 187 |
gr.Markdown("# Datasets Convertor 🚀")
|
| 188 |
gr.Markdown(
|
| 189 |
"Upload a CSV or Parquet file (or provide a Parquet file URL for Parquet to JSONL/XLS conversion) "
|
|
|
|
| 149 |
)
|
| 150 |
return output_file, info_message
|
| 151 |
|
| 152 |
+
with gr.Blocks(css=custom_css, title="Datasets Convertor", theme="Nymbo/Nymbo_Theme") as demo:
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 153 |
gr.Markdown("# Datasets Convertor 🚀")
|
| 154 |
gr.Markdown(
|
| 155 |
"Upload a CSV or Parquet file (or provide a Parquet file URL for Parquet to JSONL/XLS conversion) "
|