Spaces:
Runtime error
Runtime error
Update server.py
Browse files4 unmodified lines567891011124 unmodified lines# Load Fine-Tuned Modelmodel_name = "/app/models/fine-tuned"tokenizer = AutoTokenizer.from_pretrained("TheBloke/Pygmalion-7B-GPTQ")model = AutoModelForCausalLM.from_pretrained(model_name)@app.get("/chat")def chat(msg: str):4 unmodified lines567891011124 unmodified lines# Load Fine-Tuned Modelmodel_name = "/app/models/fine-tuned"tokenizer = AutoTokenizer.from_pretrained("NousResearch/Nous-Hermes-2-Mistral-7B")model = AutoModelForCausalLM.from_pretrained("NousResearch/Nous-Hermes-2-Mistral-7B")@app.get("/chat")def chat(msg: str):
server.py+2-2