qgallouedec HF Staff commited on
Commit
e43de7f
·
1 Parent(s): 1f53b57

sft directly exec

Browse files
Files changed (2) hide show
  1. Dockerfile +1 -1
  2. demo.py → sft.py +2 -0
Dockerfile CHANGED
@@ -44,7 +44,7 @@ RUN pip install --upgrade pip
44
  RUN pip install --no-cache-dir -r requirements.txt
45
 
46
  # Make sft script executable
47
- COPY sft.sh /usr/local/bin/sft
48
  RUN chmod +x /usr/local/bin/sft
49
 
50
  # Start gradio application
 
44
  RUN pip install --no-cache-dir -r requirements.txt
45
 
46
  # Make sft script executable
47
+ COPY sft.py /usr/local/bin/sft
48
  RUN chmod +x /usr/local/bin/sft
49
 
50
  # Start gradio application
demo.py → sft.py RENAMED
@@ -1,3 +1,5 @@
 
 
1
  import argparse
2
 
3
  parser = argparse.ArgumentParser(description="Demo script for the model.")
 
1
+ #!/usr/bin/env python3
2
+
3
  import argparse
4
 
5
  parser = argparse.ArgumentParser(description="Demo script for the model.")