Hugging Face
Models
Datasets
Spaces
Posts
Docs
Enterprise
Pricing
Log In
Sign Up
Spaces:
DonImages
/
Testing2
like
0
Runtime error
App
Files
Files
Community
Fetching metadata from the HF Docker repository...
fb24762
Testing2
/
app.py
DonImages
Create app.py
2ec389c
verified
3 months ago
raw
Copy download link
history
blame
Safe
203 Bytes
import
os
lora_path =
"lora_trained_model.pt"
if
os.path.exists(lora_path):
print
(
f"✅
{lora_path}
exists, size:
{os.path.getsize(lora_path)}
bytes"
)
else
:
print
(
"⚠️ LoRA file not found!"
)