Update app.py
Browse files
app.py
CHANGED
|
@@ -101,7 +101,14 @@ def run_inference(input_img):
|
|
| 101 |
fig = draw_plot(pred_img, seg)
|
| 102 |
return fig
|
| 103 |
|
| 104 |
-
with gr.Blocks(title="🎨 머신러닝 6차 과제", theme=gr.themes.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 105 |
theme=gr.themes.Glass()
|
| 106 |
gr.Markdown("""
|
| 107 |
# ⭐ Face Parsing Demo
|
|
|
|
| 101 |
fig = draw_plot(pred_img, seg)
|
| 102 |
return fig
|
| 103 |
|
| 104 |
+
with gr.Blocks(title="🎨 머신러닝 6차 과제", theme=gr.themes.Base(
|
| 105 |
+
primary_hue="blue", # GitHub 파란색 계열 버튼
|
| 106 |
+
secondary_hue="slate", # 회색 포인트
|
| 107 |
+
neutral_hue="gray", # 배경 톤
|
| 108 |
+
text_size=gr.themes.sizes.text_md,
|
| 109 |
+
font=["JetBrains Mono", "sans-serif"], # GitHub 느낌 폰트
|
| 110 |
+
radius_size=gr.themes.sizes.radius_sm
|
| 111 |
+
)) as demo:
|
| 112 |
theme=gr.themes.Glass()
|
| 113 |
gr.Markdown("""
|
| 114 |
# ⭐ Face Parsing Demo
|