Spaces:
Running
Running
Update index.html
Browse files- index.html +76 -17
index.html
CHANGED
|
@@ -1,19 +1,78 @@
|
|
| 1 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 2 |
<html>
|
| 3 |
-
|
| 4 |
-
|
| 5 |
-
|
| 6 |
-
|
| 7 |
-
|
| 8 |
-
|
| 9 |
-
|
| 10 |
-
|
| 11 |
-
|
| 12 |
-
|
| 13 |
-
|
| 14 |
-
|
| 15 |
-
<a href="https://huggingface.co/docs/hub/spaces" target="_blank">Spaces documentation</a>.
|
| 16 |
-
</p>
|
| 17 |
-
</div>
|
| 18 |
-
</body>
|
| 19 |
</html>
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
Evet, **`<iframe>` ile** istediğin heatmap sayfalarını doğrudan başka bir web sayfasına gömebilirsin.
|
| 2 |
+
Senin verdiğin kod, HTML dosyasında veya destekleyen bir platformda **çalışır** ve her bir heatmap’i ayrı ayrı gömülü olarak gösterir.
|
| 3 |
+
|
| 4 |
+
---
|
| 5 |
+
|
| 6 |
+
## Örnek: Tüm Heatmap’leri Yan Yana veya Alt Alta Göstermek
|
| 7 |
+
|
| 8 |
+
```html
|
| 9 |
+
<div style="display: flex; flex-direction: column; gap: 20px;">
|
| 10 |
+
<iframe
|
| 11 |
+
src="https://cfahlgren1-model-release-heatmap.hf.space/kadirnar"
|
| 12 |
+
style="width: 100%; height: 300px;"
|
| 13 |
+
frameborder="0"
|
| 14 |
+
></iframe>
|
| 15 |
+
<iframe
|
| 16 |
+
src="https://cfahlgren1-model-release-heatmap.hf.space/OpenSpeechHub"
|
| 17 |
+
style="width: 100%; height: 300px;"
|
| 18 |
+
frameborder="0"
|
| 19 |
+
></iframe>
|
| 20 |
+
<iframe
|
| 21 |
+
src="https://cfahlgren1-model-release-heatmap.hf.space/Closed-TTS"
|
| 22 |
+
style="width: 100%; height: 300px;"
|
| 23 |
+
frameborder="0"
|
| 24 |
+
></iframe>
|
| 25 |
+
<iframe
|
| 26 |
+
src="https://cfahlgren1-model-release-heatmap.hf.space/Vyvo"
|
| 27 |
+
style="width: 100%; height: 300px;"
|
| 28 |
+
frameborder="0"
|
| 29 |
+
></iframe>
|
| 30 |
+
</div>
|
| 31 |
+
```
|
| 32 |
+
|
| 33 |
+
> **Not:**
|
| 34 |
+
> - `class="w-full h-[300px]"` TailwindCSS içindir, klasik HTML’de `style="width: 100%; height: 300px;"` olarak kullanabilirsin.
|
| 35 |
+
> - Bu kodu **kendi web sitende**, **GitHub Pages’te** veya **Hugging Face Space’in HTML tabanlı bir arayüzünde** kullanabilirsin.
|
| 36 |
+
|
| 37 |
+
---
|
| 38 |
+
|
| 39 |
+
## Platform Desteği
|
| 40 |
+
|
| 41 |
+
| Platform | `<iframe>` Desteği | Açıklama |
|
| 42 |
+
|-------------------------|:------------------:|-----------------------------------------|
|
| 43 |
+
| Kendi HTML/Web Sitesi | ✔️ | Sorunsuz çalışır |
|
| 44 |
+
| GitHub README.md | ❌ | ÇALIŞMAZ (iframe desteklenmez) |
|
| 45 |
+
| Hugging Face Space (HTML/Gradio) | ⚠️ | HTML bloklarında çalışabilir, Gradio Markdown’da çalışmaz |
|
| 46 |
+
| Notion, Medium vb. | ⚠️ | Bazı platformlarda çalışır, bazılarında çalışmaz |
|
| 47 |
+
|
| 48 |
+
---
|
| 49 |
+
|
| 50 |
+
## **Sonuç**
|
| 51 |
+
|
| 52 |
+
- Kendi web sitende veya HTML destekli bir platformda verdiğin iframe kodunu kullanabilirsin.
|
| 53 |
+
- Eğer **GitHub README.md** veya Markdown tabanlı bir ortamdaysan, iframe çalışmaz.
|
| 54 |
+
- Hugging Face Space’te Streamlit veya saf HTML ile de gömebilirsin.
|
| 55 |
+
|
| 56 |
+
---
|
| 57 |
+
|
| 58 |
+
### **Ekstra: Sadece HTML Dosyası Örneği**
|
| 59 |
+
|
| 60 |
+
```html
|
| 61 |
+
<!DOCTYPE html>
|
| 62 |
<html>
|
| 63 |
+
<head>
|
| 64 |
+
<title>Hugging Face Heatmaps</title>
|
| 65 |
+
</head>
|
| 66 |
+
<body style="background: #111; color: #fff;">
|
| 67 |
+
<h1>My Hugging Face Heatmaps</h1>
|
| 68 |
+
<div style="display: flex; flex-direction: column; gap: 20px;">
|
| 69 |
+
<iframe src="https://cfahlgren1-model-release-heatmap.hf.space/kadirnar" style="width: 100%; height: 300px;" frameborder="0"></iframe>
|
| 70 |
+
<iframe src="https://cfahlgren1-model-release-heatmap.hf.space/OpenSpeechHub" style="width: 100%; height: 300px;" frameborder="0"></iframe>
|
| 71 |
+
<iframe src="https://cfahlgren1-model-release-heatmap.hf.space/Closed-TTS" style="width: 100%; height: 300px;" frameborder="0"></iframe>
|
| 72 |
+
<iframe src="https://cfahlgren1-model-release-heatmap.hf.space/Vyvo" style="width: 100%; height: 300px;" frameborder="0"></iframe>
|
| 73 |
+
</div>
|
| 74 |
+
</body>
|
|
|
|
|
|
|
|
|
|
|
|
|
| 75 |
</html>
|
| 76 |
+
```
|
| 77 |
+
|
| 78 |
+
---
|