Spaces:
Configuration error
Configuration error
File size: 2,154 Bytes
d2bcb48 c43d45c | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 | # Liger Showcase Page Deployment Guide
μ΄ ν΄λ(`liger_showcase`)μλ Hugging Face Spacesμ λ°°ν¬ν μ μλ μΉμ¬μ΄νΈ νμΌλ€μ΄ λͺ¨λ ν¬ν¨λμ΄ μμ΅λλ€.
## π Hugging Face Spaces λ°°ν¬ λ°©λ²
1. **Hugging Face μ μ λ° λ‘κ·ΈμΈ**: [huggingface.co](https://huggingface.co/)μ μ μν©λλ€.
2. **New Space μμ±**:
- μ°μΈ‘ μλ¨ νλ‘ν ν΄λ¦ -> **New Space** μ ν.
- **Space Name**: `liger-showcase` (μνλ μ΄λ¦ μ
λ ₯).
- **License**: `mit` (μ ν μ¬ν).
- **Space SDK**: **Static**μ μ ννμΈμ (κ°μ₯ μ€μ!).
- **Visibility**: Public (곡κ°) λλ Private.
- **Create Space** ν΄λ¦.
3. **νμΌ μ
λ‘λ**:
- μμ±λ Space νμ΄μ§μμ **Files** νμΌλ‘ μ΄λν©λλ€.
- **Add file** -> **Upload files**λ₯Ό ν΄λ¦ν©λλ€.
- μ΄ ν΄λ(`liger_showcase`) μμ μλ **λͺ¨λ νμΌ**(`index.html`, `style.css`, `.mp4`, `.png`)μ λλκ·Ένμ¬ μ
λ‘λν©λλ€.
- μλ **Commit changes to main** λ²νΌμ ν΄λ¦νμ¬ μ μ₯ν©λλ€.
4. **λ°°ν¬ νμΈ**:
- μ μ ν **App** νμΌλ‘ μ΄λνλ©΄ μΉμ¬μ΄νΈκ° λ°°ν¬λ κ²μ νμΈν μ μμ΅λλ€.
## π μμ μ¬ν (μ ν)
### 1. PPT/λ°ν μλ£ μ
λ‘λ
νμ¬ PPT μΉμ
μ μμλ‘ λμ΄ μμ΅λλ€. λ°ν μλ£λ₯Ό 보μ¬μ£Όλ €λ©΄:
1. λ°ν μλ£λ₯Ό PDFλ‘ λ³ννμ¬ ν¨κ» μ
λ‘λνμΈμ (μ: `presentation.pdf`).
2. `index.html` νμΌμ μ΄κ³ 80λ²μ§Έ μ€ κ·Όμ²μ `<div class="ppt-container glass-card">` μμͺ½μ μμ νμ¬ `iframe`μ΄λ λ€μ΄λ‘λ λ§ν¬λ₯Ό μ°κ²°νμΈμ.
**PDF λ°λ‘ 보μ¬μ£ΌκΈ° μμ:**
```html
<embed src="presentation.pdf" type="application/pdf" width="100%" height="600px" />
```
### 2. n8n μν¬νλ‘μ° μ°κ²°
n8n μν¬νλ‘μ°λ₯Ό μ§μ 보μ¬μ£Όκ±°λ μ€ννκ² νλ €λ©΄, n8n μΈμ€ν΄μ€μ Webhook URLμ΄λ κ³΅κ° λ§ν¬λ₯Ό `index.html`μ μν¬νλ‘μ° μΉμ
λ²νΌμ μ°κ²°νλ©΄ λ©λλ€.
---
title: GreenDriverOptimizer
emoji: ποΈ
colorFrom: green
colorTo: leaf
sdk: streamlit
sdk_version: 1.31.0
python_version: 3.10
app_file: app.py
pinned: false
---
|