Spaces:
Runtime error
Runtime error
three
Browse files
main.py
CHANGED
|
@@ -2,6 +2,7 @@ from fastapi import FastAPI, HTTPException
|
|
| 2 |
from pydantic import BaseModel
|
| 3 |
from sentence_transformers import SentenceTransformer
|
| 4 |
import numpy as np
|
|
|
|
| 5 |
|
| 6 |
# Initialize the FastAPI app
|
| 7 |
app = FastAPI()
|
|
|
|
| 2 |
from pydantic import BaseModel
|
| 3 |
from sentence_transformers import SentenceTransformer
|
| 4 |
import numpy as np
|
| 5 |
+
from huggingface_hub import HfApi, HfFolder, Repository, hf_hub_url, cached_download
|
| 6 |
|
| 7 |
# Initialize the FastAPI app
|
| 8 |
app = FastAPI()
|