Spaces:
Paused
Paused
Update app-backup.py
Browse files- app-backup.py +30 -11
app-backup.py
CHANGED
|
@@ -839,21 +839,40 @@ theme = gr.themes.Soft(
|
|
| 839 |
|
| 840 |
with gr.Blocks(css_paths=["app.css"], theme=theme) as demo:
|
| 841 |
header_html = gr.HTML("""
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 842 |
<div class="app-header">
|
| 843 |
<h1>🎮 Vibe Game Craft</h1>
|
| 844 |
-
|
| 845 |
-
|
| 846 |
-
|
| 847 |
-
|
| 848 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 849 |
</div>
|
| 850 |
-
<style>
|
| 851 |
-
/* (생략) ... CSS ... */
|
| 852 |
-
</style>
|
| 853 |
-
<script>
|
| 854 |
-
/* (생략) ... JS copyBannerUrl / showDeployBanner ... */
|
| 855 |
-
</script>
|
| 856 |
""")
|
|
|
|
|
|
|
| 857 |
|
| 858 |
history = gr.State([])
|
| 859 |
setting = gr.State({"system": SystemPrompt})
|
|
|
|
| 839 |
|
| 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>
|
| 850 |
+
|
| 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([])
|
| 878 |
setting = gr.State({"system": SystemPrompt})
|