How to create such hf spaces?

#3
by ucalyptus - opened

now that my local system can run the v3 PR demo, how do I make this magic happen on huggingface spaces? like, which files to upload etc.

@Xenova you are doing god's work.

Great! :) You can do the following:

  1. Run npm run build. A bunch of files should be created in the dist folder.
  2. Go to https://huggingface.co/new-space?sdk=static to create a new static space.
  3. Navigate to "Files" (top right, next to "App")
  4. Click "Add file" -> "Upload files"
  5. Drag and drop all files from dist here. So, at the root folder, you should have files like index.html and a folder called assets.
  6. Click "Commit changes to main"
  7. Navigate to the "App" tab and it should work!

Let me know if that works :)

@Xenova ๐Ÿ™

ucalyptus changed discussion status to closed

Sign up or log in to comment