tonby commited on
Commit
2eee725
·
verified ·
1 Parent(s): dad344e

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_status</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_status</h1><p>Check the status of an Upload-Post upload. Pass the request_id returned by an upload, or the job_id returned by a scheduled or queued post. Returns a dict with the per-platform results, including the post URLs once published.</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-status-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>