Spaces:
Sleeping
Sleeping
Delete agents/model.py
Browse files- agents/model.py +0 -15
agents/model.py
DELETED
|
@@ -1,15 +0,0 @@
|
|
| 1 |
-
import os
|
| 2 |
-
|
| 3 |
-
# Assumption that this secret exists in the current Space's environment
|
| 4 |
-
# You may choose between different models based on availability or requirements
|
| 5 |
-
def huggingface_model_uri():
|
| 6 |
-
my_id = os.getenv("MODEL_URI")
|
| 7 |
-
print(my_id)
|
| 8 |
-
# Your Hugging Face model loading logic here
|
| 9 |
-
prefix = "https://"
|
| 10 |
-
|
| 11 |
-
if not prefix in my_id:
|
| 12 |
-
my_id = prefix + my_id
|
| 13 |
-
|
| 14 |
-
return my_id
|
| 15 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|