Update app.py
Browse files13 unmodified lines14151617181920199 unmodified lines22022122222322422522613 unmodified linessubprocess.run("curl -fsSL https://ollama.com/install.sh | sh", shell=True, check=True)subprocess.Popen(["ollama", "serve"], stdout=subprocess.DEVNULL, stderr=subprocess.DEVNULL)time.sleep(5)subprocess.run(["ollama", "pull", "hf.co/NhZtw/Qwen3.5-0.8B-Opus-4.6-Reasoning-GGUF:Q4_K_M"], check=True)setup_ollama() # Uncomment if needed199 unmodified linesfor _ in range(max_iterations):stream = ollama.chat(model="hf.co/NhZtw/Qwen3.5-0.8B-Opus-4.6-Reasoning-GGUF:Q4_K_M",messages=messages,stream=True,think=show_thinking,13 unmodified lines14151617181920199 unmodified lines22022122222322422522613 unmodified linessubprocess.run("curl -fsSL https://ollama.com/install.sh | sh", shell=True, check=True)subprocess.Popen(["ollama", "serve"], stdout=subprocess.DEVNULL, stderr=subprocess.DEVNULL)time.sleep(5)subprocess.run(["ollama", "pull", "qwen3.5:0.8b"], check=True)setup_ollama() # Uncomment if needed199 unmodified linesfor _ in range(max_iterations):stream = ollama.chat(model="qwen3.5:0.8b",messages=messages,stream=True,think=show_thinking,
app.py+2-2