Spaces:
Paused
Paused
Update app.py
Browse files
app.py
CHANGED
@@ -840,12 +840,10 @@ theme = gr.themes.Soft(
|
|
840 |
with gr.Blocks(css_paths=["app.css"], theme=theme) as demo:
|
841 |
header_html = gr.HTML("""
|
842 |
<style>
|
843 |
-
/* ▸ 헤더 전체 스타일(이미 있으시면 합쳐도 됩니다) */
|
844 |
.app-header{ text-align:center; margin-bottom:24px; }
|
845 |
-
/* ▸ 배지 전용 래퍼 – 좌우로 나란히 배치 */
|
846 |
.badge-row{
|
847 |
display:inline-flex; /* 가로 정렬 */
|
848 |
-
gap:8px;
|
849 |
margin:8px 0;
|
850 |
}
|
851 |
</style>
|
@@ -853,21 +851,27 @@ with gr.Blocks(css_paths=["app.css"], theme=theme) as demo:
|
|
853 |
<div class="app-header">
|
854 |
<h1>🎮 Vibe Game Craft</h1>
|
855 |
|
856 |
-
<!-- 👇 두 배지를 감싸는 래퍼 -->
|
857 |
<div class="badge-row">
|
|
|
|
|
|
|
|
|
|
|
|
|
858 |
<a href="https://huggingface.co/spaces/openfree/Game-Gallery" target="_blank">
|
859 |
-
<img src="https://img.shields.io/static/v1?label=huggingface&message=Game%20Gallery&color=%23800080&labelColor=%23ffa500&logo=huggingface&logoColor=%23ffff00&style=for-the-badge" alt="
|
860 |
</a>
|
861 |
|
|
|
862 |
<a href="https://discord.gg/openfreeai" target="_blank">
|
863 |
-
<img src="https://img.shields.io/static/v1?label=Discord&message=Openfree%20AI&color=%230000ff&labelColor=%23800080&logo=discord&logoColor=white&style=for-the-badge" alt="
|
864 |
</a>
|
865 |
</div>
|
866 |
|
867 |
<p>프롬프트 입력만으로 최신 LLM들과 Agent가 협업하여 웹 기반 HTML5, JavaScript, CSS 게임을 생성합니다. 실시간 미리보기와 배포 기능도 지원됩니다.</p>
|
868 |
</div>
|
869 |
""")
|
870 |
-
|
871 |
|
872 |
|
873 |
history = gr.State([])
|
|
|
840 |
with gr.Blocks(css_paths=["app.css"], theme=theme) as demo:
|
841 |
header_html = gr.HTML("""
|
842 |
<style>
|
|
|
843 |
.app-header{ text-align:center; margin-bottom:24px; }
|
|
|
844 |
.badge-row{
|
845 |
display:inline-flex; /* 가로 정렬 */
|
846 |
+
gap:8px; /* 배지 사이 여백 */
|
847 |
margin:8px 0;
|
848 |
}
|
849 |
</style>
|
|
|
851 |
<div class="app-header">
|
852 |
<h1>🎮 Vibe Game Craft</h1>
|
853 |
|
|
|
854 |
<div class="badge-row">
|
855 |
+
<!-- ① Vibe-Game 공간 배지 -->
|
856 |
+
<a href="https://huggingface.co/spaces/openfree/Vibe-Game" target="_blank">
|
857 |
+
<img src="https://img.shields.io/static/v1?label=huggingface&message=Vibe%20Game%20Craft&color=%23800080&labelColor=%23ffa500&logo=huggingface&logoColor=%23ffff00&style=for-the-badge" alt="HF Vibe badge">
|
858 |
+
</a>
|
859 |
+
|
860 |
+
<!-- ② Game Gallery 배지 -->
|
861 |
<a href="https://huggingface.co/spaces/openfree/Game-Gallery" target="_blank">
|
862 |
+
<img src="https://img.shields.io/static/v1?label=huggingface&message=Game%20Gallery&color=%23800080&labelColor=%23ffa500&logo=huggingface&logoColor=%23ffff00&style=for-the-badge" alt="HF Gallery badge">
|
863 |
</a>
|
864 |
|
865 |
+
<!-- ③ Discord 배지 -->
|
866 |
<a href="https://discord.gg/openfreeai" target="_blank">
|
867 |
+
<img src="https://img.shields.io/static/v1?label=Discord&message=Openfree%20AI&color=%230000ff&labelColor=%23800080&logo=discord&logoColor=white&style=for-the-badge" alt="Discord badge">
|
868 |
</a>
|
869 |
</div>
|
870 |
|
871 |
<p>프롬프트 입력만으로 최신 LLM들과 Agent가 협업하여 웹 기반 HTML5, JavaScript, CSS 게임을 생성합니다. 실시간 미리보기와 배포 기능도 지원됩니다.</p>
|
872 |
</div>
|
873 |
""")
|
874 |
+
|
875 |
|
876 |
|
877 |
history = gr.State([])
|