h2ogpt-api / app.py
DylanWolf's picture
Update app.py
b217628
raw
history blame contribute delete
267 Bytes
import os
os.system("git clone https://github.com/oobabooga/text-generation-webui.git")
os.chdir("text-generation-webui")
os.system("pip install -r requirements.txt")
with open("input.txt", "w") as f:
f.write("N\n")
os.system("./start_linux.sh < input.txt")