Update app.py
Browse files
app.py
CHANGED
|
@@ -12,6 +12,8 @@ For more information on `huggingface_hub` Inference API support, please check th
|
|
| 12 |
"""
|
| 13 |
|
| 14 |
from accelerate import init_empty_weights, infer_auto_device_map, load_checkpoint_and_dispatch
|
|
|
|
|
|
|
| 15 |
|
| 16 |
subprocess.run(
|
| 17 |
"pip install psutil",
|
|
|
|
| 12 |
"""
|
| 13 |
|
| 14 |
from accelerate import init_empty_weights, infer_auto_device_map, load_checkpoint_and_dispatch
|
| 15 |
+
from accelerate import Accelerator
|
| 16 |
+
|
| 17 |
|
| 18 |
subprocess.run(
|
| 19 |
"pip install psutil",
|