PyStreamGPT / app.py
Saboorhsn's picture
Update app.py
e4dfe65 verified
raw
history blame
352 Bytes
import subprocess
# Define dependencies
dependencies = [
"transformers==4.13.0", # Make sure to specify the version
"datasets==1.15.0", # Make sure to specify the version
]
# Install dependencies
for dependency in dependencies:
subprocess.call(["pip", "install", dependency])
# Run train.py
subprocess.call(["python", "train.py"])