Update app.py
Browse files
app.py
CHANGED
@@ -3,11 +3,10 @@ import fastapi
|
|
3 |
from fastapi.responses import JSONResponse
|
4 |
from llama_cpp import Llama
|
5 |
from time import time
|
6 |
-
import logging
|
7 |
|
8 |
"""
|
9 |
#MODEL_PATH = "./qwen1_5-0_5b-chat-q4_0.gguf" #"./qwen1_5-0_5b-chat-q4_0.gguf"
|
10 |
-
|
11 |
import llama_cpp
|
12 |
import llama_cpp.llama_tokenizer
|
13 |
|
|
|
3 |
from fastapi.responses import JSONResponse
|
4 |
from llama_cpp import Llama
|
5 |
from time import time
|
|
|
6 |
|
7 |
"""
|
8 |
#MODEL_PATH = "./qwen1_5-0_5b-chat-q4_0.gguf" #"./qwen1_5-0_5b-chat-q4_0.gguf"
|
9 |
+
import logging
|
10 |
import llama_cpp
|
11 |
import llama_cpp.llama_tokenizer
|
12 |
|