Spaces:
Sleeping
Sleeping
Update api.py
Browse files
api.py
CHANGED
|
@@ -3,11 +3,11 @@ from typing import Union
|
|
| 3 |
from fastapi import FastAPI
|
| 4 |
from epub2txt import epub2txt
|
| 5 |
|
|
|
|
|
|
|
| 6 |
model = llm.model(os.getenv("checkpoint_path"))
|
| 7 |
prompt = os.getenv("prompt")
|
| 8 |
|
| 9 |
-
from fastllm_pytools import llm
|
| 10 |
-
|
| 11 |
app = FastAPI()
|
| 12 |
|
| 13 |
|
|
|
|
| 3 |
from fastapi import FastAPI
|
| 4 |
from epub2txt import epub2txt
|
| 5 |
|
| 6 |
+
from fastllm_pytools import llm
|
| 7 |
+
|
| 8 |
model = llm.model(os.getenv("checkpoint_path"))
|
| 9 |
prompt = os.getenv("prompt")
|
| 10 |
|
|
|
|
|
|
|
| 11 |
app = FastAPI()
|
| 12 |
|
| 13 |
|