tonby commited on
Commit
cba91df
·
verified ·
1 Parent(s): fff5f1a

Add landing page

Browse files
Files changed (1) hide show
  1. index.html +8 -19
index.html CHANGED
@@ -1,19 +1,8 @@
1
- <!doctype html>
2
- <html>
3
- <head>
4
- <meta charset="utf-8" />
5
- <meta name="viewport" content="width=device-width" />
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
+ <!doctype html><html><head><meta charset="utf-8"><title>upload_post_profiles</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_profiles</h1><p>List the Upload-Post profiles of the account and the social accounts connected to each one (TikTok, Instagram, YouTube, LinkedIn, X, ...). Call it first to find which profile to publish from and which platforms it can post to.</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-profiles-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>