jonathanjordan21
commited on
Commit
•
4cdd282
1
Parent(s):
6f3525e
Update app.py
Browse files
app.py
CHANGED
@@ -1,8 +1,10 @@
|
|
1 |
from fastapi import FastAPI
|
2 |
-
import numpy as np
|
3 |
from sentence_transformers import CrossEncoder, SentenceTransformer
|
4 |
from sentence_transformers.util import cos_sim
|
5 |
|
|
|
|
|
|
|
6 |
from typing import List
|
7 |
from pydantic import BaseModel
|
8 |
|
|
|
1 |
from fastapi import FastAPI
|
|
|
2 |
from sentence_transformers import CrossEncoder, SentenceTransformer
|
3 |
from sentence_transformers.util import cos_sim
|
4 |
|
5 |
+
import torch
|
6 |
+
import numpy as np
|
7 |
+
|
8 |
from typing import List
|
9 |
from pydantic import BaseModel
|
10 |
|