Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -817,6 +817,14 @@ def create_main_interface():
|
|
| 817 |
}
|
| 818 |
|
| 819 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 820 |
.file-upload {
|
| 821 |
border: 2px dashed #007aff;
|
| 822 |
border-radius: 10px;
|
|
@@ -824,6 +832,7 @@ def create_main_interface():
|
|
| 824 |
text-align: center;
|
| 825 |
background: #f8f9fa;
|
| 826 |
transition: all 0.3s ease;
|
|
|
|
| 827 |
}
|
| 828 |
|
| 829 |
.file-upload:hover {
|
|
@@ -1041,7 +1050,7 @@ Use the "Generate" button for basic creation, "Enhance" button for prompt improv
|
|
| 1041 |
|
| 1042 |
|
| 1043 |
# ํ์ผ ์
๋ก๋ ์น์
|
| 1044 |
-
with gr.
|
| 1045 |
file_upload = gr.File(
|
| 1046 |
label="Upload Files (Images/Documents)",
|
| 1047 |
file_types=[".jpg", ".jpeg", ".png", ".gif", ".bmp", ".webp",
|
|
|
|
| 817 |
}
|
| 818 |
|
| 819 |
|
| 820 |
+
.file-upload-section {
|
| 821 |
+
border: 1px solid #e0e0e0;
|
| 822 |
+
border-radius: 10px;
|
| 823 |
+
padding: 20px;
|
| 824 |
+
margin: 20px 0;
|
| 825 |
+
background: #ffffff;
|
| 826 |
+
}
|
| 827 |
+
|
| 828 |
.file-upload {
|
| 829 |
border: 2px dashed #007aff;
|
| 830 |
border-radius: 10px;
|
|
|
|
| 832 |
text-align: center;
|
| 833 |
background: #f8f9fa;
|
| 834 |
transition: all 0.3s ease;
|
| 835 |
+
margin-bottom: 15px;
|
| 836 |
}
|
| 837 |
|
| 838 |
.file-upload:hover {
|
|
|
|
| 1050 |
|
| 1051 |
|
| 1052 |
# ํ์ผ ์
๋ก๋ ์น์
|
| 1053 |
+
with gr.Group(elem_classes="file-upload-section"):
|
| 1054 |
file_upload = gr.File(
|
| 1055 |
label="Upload Files (Images/Documents)",
|
| 1056 |
file_types=[".jpg", ".jpeg", ".png", ".gif", ".bmp", ".webp",
|