JVice commited on
Commit
39870be
1 Parent(s): d9725db

Checked for V2.0

Browse files
Files changed (1) hide show
  1. model_loading.py +0 -8
model_loading.py CHANGED
@@ -18,14 +18,6 @@ def check_if_model_exists(repoName):
18
  else:
19
  # modelLoaded = huggingFaceURL
20
  return huggingFaceURL
21
- # try:
22
- # huggingFaceURL = "https://huggingface.co/" + repoName + "/raw/main/model_index.json"
23
- # response = requests.get(huggingFaceURL).status_code
24
- # modelLoaded = huggingFaceURL
25
- # except requests.ConnectionError as exception:
26
- # modelLoaded = None
27
-
28
- # return modelLoaded
29
 
30
  def get_model_info(modelURL):
31
  modelType = None
 
18
  else:
19
  # modelLoaded = huggingFaceURL
20
  return huggingFaceURL
 
 
 
 
 
 
 
 
21
 
22
  def get_model_info(modelURL):
23
  modelType = None