Update main.py
Browse files4 unmodified lines56789101112134 unmodified linesfrom ctransformers import AutoModelForCausalLMllm = AutoModelForCausalLM.from_pretrained("TheBloke/Llama-2-7b-Chat-GGUF", model_file="llama-2-7b-chat.q4_K_M.gguf", model_type="llama", gpu_layers=0)@app.route('/recommend', methods=['POST'])4 unmodified lines5678910114 unmodified linesfrom ctransformers import AutoModelForCausalLMllm = AutoModelForCausalLM.from_pretrained("TheBloke/Mistral-7B-v0.1-GGUF", model_file="mistral-7b-v0.1.Q4_K_M.gguf", model_type="mistral", gpu_layers=0)@app.route('/recommend', methods=['POST'])
main.py+1-3