Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -133,15 +133,7 @@ def convert_music_to_arduino(text_input):
|
|
| 133 |
return f"오류 발생: {str(e)}", None
|
| 134 |
|
| 135 |
# Gradio 인터페이스 구성
|
| 136 |
-
with gr.Blocks(title="
|
| 137 |
-
|
| 138 |
-
gr.HTML("""
|
| 139 |
-
<div style="text-align: center; padding: 20px; background: linear-gradient(135deg, #667eea 0%, #764ba2 100%); border-radius: 10px; margin-bottom: 20px;">
|
| 140 |
-
<h1 style="margin: 0; color: white; text-shadow: 2px 2px 4px rgba(0,0,0,0.3);">🎵 Music to Arduino Converter</h1>
|
| 141 |
-
<p style="margin: 10px 0; color: rgba(255,255,255,0.9);">음악 노트를 Arduino 코드로 변환</p>
|
| 142 |
-
</div>
|
| 143 |
-
""")
|
| 144 |
-
|
| 145 |
with gr.Row():
|
| 146 |
# 왼쪽: 입력
|
| 147 |
with gr.Column():
|
|
|
|
| 133 |
return f"오류 발생: {str(e)}", None
|
| 134 |
|
| 135 |
# Gradio 인터페이스 구성
|
| 136 |
+
with gr.Blocks(title="이우진의 아두이노 작곡 웹사이트", theme=gr.themes.Soft()) as demo:
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 137 |
with gr.Row():
|
| 138 |
# 왼쪽: 입력
|
| 139 |
with gr.Column():
|