Spaces:
Runtime error
Runtime error
Update app.py
Browse files64 unmodified lines656667686970717273747564 unmodified lines# custom_role_conversions=None,# )model = LiteLLMModel(model_id="ollama_chat/qwen2.5:7b", # Ollama model identifierapi_base="http://127.0.0.1:11434", # default Ollama HTTP portnum_ctx=8192,temperature=0.5)# Import tool from Hub64 unmodified lines65666768697071727374757677787980818264 unmodified lines# custom_role_conversions=None,# )# model = LiteLLMModel(# model_id="ollama_chat/qwen2.5:7b", # Ollama model identifier# api_base="http://127.0.0.1:11434", # default Ollama HTTP port# num_ctx=8192,# temperature=0.5# )model = LocalModel(model_id="TheBloke/vicuna-7B-1.1-HF",trust_remote_code=True, # needed if the repo defines its own model classesdevice="cuda", # or "cpu" if no GPUquantize="4bit" # optional: drastically reduce VRAM usage)# Import tool from Hub
app.py+12-5