Omnibus commited on
Commit
7f431fa
1 Parent(s): 09974cb

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -0
app.py CHANGED
@@ -35,6 +35,7 @@ def query2(fetch_url,config="TEST",split="test",offset=0,length=10):
35
  API_URL2 = f"https://datasets-server.huggingface.co/rows?dataset={fetch_url}&config={config}&split={split}&offset={offset}&length={length}"
36
  response = requests.get(API_URL2)
37
  dictionary=response.json()
 
38
  return dictionary
39
 
40
  def find_fn(lvl_1,lvl_2,fetch_url,config="TEST",split="test",offset=0,length=10):
 
35
  API_URL2 = f"https://datasets-server.huggingface.co/rows?dataset={fetch_url}&config={config}&split={split}&offset={offset}&length={length}"
36
  response = requests.get(API_URL2)
37
  dictionary=response.json()
38
+ print (len(dictionary))
39
  return dictionary
40
 
41
  def find_fn(lvl_1,lvl_2,fetch_url,config="TEST",split="test",offset=0,length=10):