brian-xetdata commited on
Commit
8047141
1 Parent(s): 0ac63a7

Adding print outs

Browse files
Files changed (1) hide show
  1. proxy.py +2 -0
proxy.py CHANGED
@@ -46,11 +46,13 @@ def chooser():
46
  filename = request.args.get("filename")
47
 
48
  if repo_id is None or filename is None:
 
49
  return ""
50
 
51
  file_url = hf_hub_url(request.args.get("repo_id"), request.args.get("filename"))
52
 
53
  if file_url is None:
 
54
  return ""
55
 
56
  return """
 
46
  filename = request.args.get("filename")
47
 
48
  if repo_id is None or filename is None:
49
+ print("repo_id or filename is missing", repo_id, filename)
50
  return ""
51
 
52
  file_url = hf_hub_url(request.args.get("repo_id"), request.args.get("filename"))
53
 
54
  if file_url is None:
55
+ print("could not find file url")
56
  return ""
57
 
58
  return """