carlosdimare commited on
Commit
1c329a4
1 Parent(s): dadcee7

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +5 -0
Dockerfile CHANGED
@@ -1,2 +1,7 @@
1
  FROM huggingface/autotrain-advanced:7f5ff64
2
  CMD pip uninstall -y autotrain-advanced && pip install -U autotrain-advanced && autotrain app --host 0.0.0.0 --port 7860 --workers 1
 
 
 
 
 
 
1
  FROM huggingface/autotrain-advanced:7f5ff64
2
  CMD pip uninstall -y autotrain-advanced && pip install -U autotrain-advanced && autotrain app --host 0.0.0.0 --port 7860 --workers 1
3
+
4
+ from adapters import AutoAdapterModel
5
+
6
+ model = AutoAdapterModel.from_pretrained("undefined")
7
+ model.load_adapter("carlosdimare/clascon", set_active=True)