Thiloid commited on
Commit
9928996
·
verified ·
1 Parent(s): 66d4dbc

Update run.py

Browse files
Files changed (1) hide show
  1. run.py +2 -2
run.py CHANGED
@@ -18,12 +18,12 @@ api_key = os.getenv("key")
18
  # Step 1: Authenticate with Hugging Face Hub
19
 
20
  # Step 2: Specify your Hugging Face username, Space name, and file name
21
- username = 'thiloid'
22
  space_name = 'envapi'
23
  file_name = 'nestolechatbot-5fe2aa26cb52.json'
24
 
25
  # Step 3: Get download URL for the JSON file
26
- download_url = f'https://huggingface.co/{username}/{space_name}/raw/main/{file_name}'
27
 
28
  # Step 4: Download the file content
29
  try:
 
18
  # Step 1: Authenticate with Hugging Face Hub
19
 
20
  # Step 2: Specify your Hugging Face username, Space name, and file name
21
+ username = 'Thiloid'
22
  space_name = 'envapi'
23
  file_name = 'nestolechatbot-5fe2aa26cb52.json'
24
 
25
  # Step 3: Get download URL for the JSON file
26
+ download_url = f'https://huggingface.co/datasets/{username}/{space_name}/raw/main/{file_name}'
27
 
28
  # Step 4: Download the file content
29
  try: