Spaces:
Runtime error
Runtime error
Update app.py
Browse files1 unmodified line23456789101 unmodified linefrom huggingface_hub import hf_hub_downloadimport jsonimport urllibfilepath = hf_hub_download(repo_id="bigcode/commits-username-to-repo", filename="username_to_repo.json",repo_type="dataset", token="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")with open(filepath, 'r') as f:username_to_repo = json.load(f)1 unmodified line2345678910111 unmodified linefrom huggingface_hub import hf_hub_downloadimport jsonimport urllibimport osfilepath = hf_hub_download(repo_id="bigcode/commits-username-to-repo", filename="username_to_repo.json",repo_type="dataset", token=os.environ.get("api_token"))with open(filepath, 'r') as f:username_to_repo = json.load(f)
app.py+2-1