Spaces:
Sleeping
Sleeping
Delete searchmodel.py
Browse files- searchmodel.py +0 -5
searchmodel.py
DELETED
|
@@ -1,5 +0,0 @@
|
|
| 1 |
-
from huggingface_hub import InferenceClient
|
| 2 |
-
|
| 3 |
-
client = InferenceClient(token=os.environ["HF_TOKEN"])
|
| 4 |
-
deployed = client.list_deployed_models("text-generation-inference")
|
| 5 |
-
print(deployed.get("text-generation", []))
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|