Megalino111 commited on
Commit
2e7ea5c
·
1 Parent(s): c0c48b2

Delete app.py

Browse files
Files changed (1) hide show
  1. app.py +0 -11
app.py DELETED
@@ -1,11 +0,0 @@
1
- from huggingface_hub import HfApi, list_models
2
-
3
- # Use root method
4
- models = list_models()
5
-
6
- # Or configure a HfApi client
7
- hf_api = HfApi(
8
- endpoint="https://huggingface.co/api/models/stabilityai/stable-diffusion-xl-base-0.9", # Can be a Private Hub endpoint.
9
- token="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", # Token is not persisted on the machine.
10
- )
11
- models = hf_api.list_models()