Update app.py
Browse files
app.py
CHANGED
@@ -173,7 +173,7 @@ class S3DirectStream:
|
|
173 |
raise HTTPException(status_code=500, detail=f"An unexpected error occurred during model download") from e
|
174 |
|
175 |
|
176 |
-
def _get_model_files(self, model_prefix, revision="main"):
|
177 |
index_url = f"https://huggingface.co/{model_prefix}/resolve/{revision}/"
|
178 |
try:
|
179 |
index_response = requests.get(index_url)
|
|
|
173 |
raise HTTPException(status_code=500, detail=f"An unexpected error occurred during model download") from e
|
174 |
|
175 |
|
176 |
+
def _get_model_files(self, model_prefix, revision="main"): # This function is not used anymore
|
177 |
index_url = f"https://huggingface.co/{model_prefix}/resolve/{revision}/"
|
178 |
try:
|
179 |
index_response = requests.get(index_url)
|