Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -61,13 +61,6 @@ css = '''
|
|
| 61 |
h1 {
|
| 62 |
text-align: center;
|
| 63 |
font-family: 'Pretendard', sans-serif;
|
| 64 |
-
color: #EA580C;
|
| 65 |
-
}
|
| 66 |
-
.gr-button-primary {
|
| 67 |
-
background-color: #F97316 !important;
|
| 68 |
-
}
|
| 69 |
-
.gr-button-primary:hover {
|
| 70 |
-
background-color: #EA580C !important;
|
| 71 |
}
|
| 72 |
.footer-content {
|
| 73 |
text-align: center;
|
|
@@ -79,7 +72,7 @@ h1 {
|
|
| 79 |
}
|
| 80 |
.visit-button {
|
| 81 |
background-color: #EA580C;
|
| 82 |
-
color: white;
|
| 83 |
padding: 0.75rem 1.5rem;
|
| 84 |
border-radius: 0.5rem;
|
| 85 |
font-weight: 500;
|
|
@@ -94,25 +87,11 @@ h1 {
|
|
| 94 |
box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
|
| 95 |
}
|
| 96 |
'''
|
|
|
|
| 97 |
|
| 98 |
# Gradio 인터페이스 생성
|
| 99 |
with gr.Blocks(
|
| 100 |
-
theme=gr.themes.
|
| 101 |
-
primary_hue=gr.themes.Color(
|
| 102 |
-
c50="#FFF7ED",
|
| 103 |
-
c100="#FFEDD5",
|
| 104 |
-
c200="#FED7AA",
|
| 105 |
-
c300="#FDBA74",
|
| 106 |
-
c400="#FB923C",
|
| 107 |
-
c500="#F97316",
|
| 108 |
-
c600="#EA580C",
|
| 109 |
-
c700="#C2410C",
|
| 110 |
-
c800="#9A3412",
|
| 111 |
-
c900="#7C2D12",
|
| 112 |
-
c950="#431407",
|
| 113 |
-
),
|
| 114 |
-
secondary_hue="zinc",
|
| 115 |
-
neutral_hue="zinc",
|
| 116 |
font=("Pretendard", "sans-serif")
|
| 117 |
),
|
| 118 |
css=css
|
|
|
|
| 61 |
h1 {
|
| 62 |
text-align: center;
|
| 63 |
font-family: 'Pretendard', sans-serif;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 64 |
}
|
| 65 |
.footer-content {
|
| 66 |
text-align: center;
|
|
|
|
| 72 |
}
|
| 73 |
.visit-button {
|
| 74 |
background-color: #EA580C;
|
| 75 |
+
color: white !important;
|
| 76 |
padding: 0.75rem 1.5rem;
|
| 77 |
border-radius: 0.5rem;
|
| 78 |
font-weight: 500;
|
|
|
|
| 87 |
box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
|
| 88 |
}
|
| 89 |
'''
|
| 90 |
+
'''
|
| 91 |
|
| 92 |
# Gradio 인터페이스 생성
|
| 93 |
with gr.Blocks(
|
| 94 |
+
theme=gr.themes.Default(
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 95 |
font=("Pretendard", "sans-serif")
|
| 96 |
),
|
| 97 |
css=css
|