kayte0342 commited on
Commit
9a31ffb
·
verified ·
1 Parent(s): c5b9b4d

Upload app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -0
app.py CHANGED
@@ -19,6 +19,8 @@ import time
19
  # (If the package is already installed, pip will simply verify the installation.)
20
  subprocess.run("pip install huggingface_hub[cli]", shell=True, check=True)
21
 
 
 
22
  huggingface-cli login
23
 
24
  # Load LoRAs from JSON file
 
19
  # (If the package is already installed, pip will simply verify the installation.)
20
  subprocess.run("pip install huggingface_hub[cli]", shell=True, check=True)
21
 
22
+ from huggingface_hub import login, hf_hub_download, HfFileSystem, ModelCard, snapshot_download
23
+
24
  huggingface-cli login
25
 
26
  # Load LoRAs from JSON file