Spaces:
Running
Running
Erik commited on
Upload folder using huggingface_hub
Browse files- index.html +5 -19
index.html
CHANGED
|
@@ -1,19 +1,5 @@
|
|
| 1 |
-
|
| 2 |
-
|
| 3 |
-
|
| 4 |
-
|
| 5 |
-
|
| 6 |
-
<title>My static Space</title>
|
| 7 |
-
<link rel="stylesheet" href="style.css" />
|
| 8 |
-
</head>
|
| 9 |
-
<body>
|
| 10 |
-
<div class="card">
|
| 11 |
-
<h1>Welcome to your static Space!</h1>
|
| 12 |
-
<p>You can modify this app directly by editing <i>index.html</i> in the Files and versions tab.</p>
|
| 13 |
-
<p>
|
| 14 |
-
Also don't forget to check the
|
| 15 |
-
<a href="https://huggingface.co/docs/hub/spaces" target="_blank">Spaces documentation</a>.
|
| 16 |
-
</p>
|
| 17 |
-
</div>
|
| 18 |
-
</body>
|
| 19 |
-
</html>
|
|
|
|
| 1 |
+
Before coding, I need to clarify one thing:
|
| 2 |
+
|
| 3 |
+
**Should the application use the official Hugging Face `transformers` library (PyTorch) with manual CPU offloading, or should it use the `transformers.js` (WebLLM) approach to run entirely in the browser (client-side) to ensure zero load on the free CPU tier?**
|
| 4 |
+
|
| 5 |
+
*Note: If we use server-side PyTorch on the free tier, we must be very careful about memory usage. If we use `transformers.js`, the heavy lifting happens on the user's device, which is often better for free tiers.*
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|