Update app.py
Browse files
app.py
CHANGED
@@ -1,6 +1,7 @@
|
|
1 |
import fastapi
|
2 |
from fastapi.responses import JSONResponse
|
3 |
from time import time
|
|
|
4 |
#MODEL_PATH = "./qwen1_5-0_5b-chat-q4_0.gguf" #"./qwen1_5-0_5b-chat-q4_0.gguf"
|
5 |
import logging
|
6 |
import llama_cpp
|
|
|
1 |
import fastapi
|
2 |
from fastapi.responses import JSONResponse
|
3 |
from time import time
|
4 |
+
from fastapi.middleware.cors import CORSMiddleware
|
5 |
#MODEL_PATH = "./qwen1_5-0_5b-chat-q4_0.gguf" #"./qwen1_5-0_5b-chat-q4_0.gguf"
|
6 |
import logging
|
7 |
import llama_cpp
|