Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -46,7 +46,7 @@ def load_model():
|
|
46 |
raise RuntimeError(f"Model not found at path: {model_path}")
|
47 |
llm = Llama(model_path=model_path)
|
48 |
|
49 |
-
@app.get("/", response_class=
|
50 |
async def root():
|
51 |
return "Ollama is running"
|
52 |
|
|
|
46 |
raise RuntimeError(f"Model not found at path: {model_path}")
|
47 |
llm = Llama(model_path=model_path)
|
48 |
|
49 |
+
@app.get("/", response_class=PlainTextResponse)
|
50 |
async def root():
|
51 |
return "Ollama is running"
|
52 |
|