Add landing page
Browse files- index.html +8 -19
index.html
CHANGED
|
@@ -1,19 +1,8 @@
|
|
| 1 |
-
<!doctype html>
|
| 2 |
-
<
|
| 3 |
-
|
| 4 |
-
|
| 5 |
-
|
| 6 |
-
|
| 7 |
-
|
| 8 |
-
|
| 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 |
+
<!doctype html><html><head><meta charset="utf-8"><title>upload_post_video</title>
|
| 2 |
+
<style>body{font-family:system-ui,sans-serif;max-width:720px;margin:40px auto;padding:0 16px;line-height:1.5}code,pre{background:#f3f3f3;padding:2px 4px;border-radius:4px}</style></head>
|
| 3 |
+
<body><h1>upload_post_video</h1><p>Publish (or schedule) a video on social networks through Upload-Post: TikTok, Instagram, YouTube, LinkedIn, Facebook, X, Threads, Pinterest, Bluesky and more. The video must be a public http(s) URL. The upload is processed asynchronously: the returned dict contains a request_id (or a job_id when scheduled) to pass to upload_post_status.</p>
|
| 4 |
+
<p>A <a href="https://github.com/huggingface/smolagents">smolagents</a> tool for <a href="https://www.upload-post.com">Upload-Post</a>.</p>
|
| 5 |
+
<pre>from smolagents import load_tool
|
| 6 |
+
tool = load_tool("upload-post/upload-post-video-tool", trust_remote_code=True)</pre>
|
| 7 |
+
<p>Set <code>UPLOAD_POST_API_KEY</code> in your environment. Source: <a href="https://github.com/Upload-Post/upload-post-smolagents">github.com/Upload-Post/upload-post-smolagents</a></p>
|
| 8 |
+
</body></html>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|