Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -15,6 +15,7 @@ model.half()
|
|
15 |
model = model.eval()
|
16 |
|
17 |
model_path = model.config._dict['model_name_or_path']
|
|
|
18 |
model_size_gb = os.path.getsize(model_path) / (1024 * 1024 * 1024)
|
19 |
|
20 |
print(f"The model '{model_name}' is taking approximately {model_size_gb:.2f} GB of disk space.")
|
|
|
15 |
model = model.eval()
|
16 |
|
17 |
model_path = model.config._dict['model_name_or_path']
|
18 |
+
logger.debug(f"{model_path=}")
|
19 |
model_size_gb = os.path.getsize(model_path) / (1024 * 1024 * 1024)
|
20 |
|
21 |
print(f"The model '{model_name}' is taking approximately {model_size_gb:.2f} GB of disk space.")
|