alessandro trinca tornidor commited on
Commit
d60d246
·
1 Parent(s): 9eb0596

[refactor] move the app python scripts under the app package

Browse files
app/__init__.py ADDED
File without changes
chat.py → app/chat.py RENAMED
File without changes
main.py → app/main.py RENAMED
File without changes
merge_lora_weights_and_save_hf_model.py → app/merge_lora_weights_and_save_hf_model.py RENAMED
File without changes
train_ds.py → app/train_ds.py RENAMED
File without changes
scripts/entrypoint.sh CHANGED
@@ -51,7 +51,7 @@ CUDA_VISIBLE_DEVICES=$(nvidia-smi --query-gpu=memory.free,index --format=csv,nou
51
  echo "calculated CUDA_VISIBLE_DEVICES env variable: ${CUDA_VISIBLE_DEVICES}."
52
  export CUDA_VISIBLE_DEVICES
53
 
54
- echo "running command 'uvicorn main:app --host 0.0.0.0 --port 7860'..."
55
- uvicorn main:app --host 0.0.0.0 --port 7860
56
 
57
  exit 0
 
51
  echo "calculated CUDA_VISIBLE_DEVICES env variable: ${CUDA_VISIBLE_DEVICES}."
52
  export CUDA_VISIBLE_DEVICES
53
 
54
+ echo "running command 'uvicorn app.main:app --host 0.0.0.0 --port 7860'..."
55
+ uvicorn app.main:app --host 0.0.0.0 --port 7860
56
 
57
  exit 0