Skip to content

Instantly share code, notes, and snippets.

@theSage21
Created July 18, 2018 04:34
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save theSage21/8bdbdd3d2cf5e8010653a83691b1f053 to your computer and use it in GitHub Desktop.
Save theSage21/8bdbdd3d2cf5e8010653a83691b1f053 to your computer and use it in GitHub Desktop.
import requests
name = 'tfidf_benchmark'
contest = 'marco-search'
fpath = 'output'
files = {"upload": open(fpath, 'rb')}
url = 'https://models.clapresearch.com/api/submit'
requests.post(url, data={"user": name, "contest": contest},
files=files)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment