Hansimov commited on
Commit
2156e95
1 Parent(s): 74b889b

:pencil: [Doc] Readme and requirements.txt

Browse files
Files changed (3) hide show
  1. README.md +13 -0
  2. app.py +0 -1
  3. requirements.txt +5 -1
README.md CHANGED
@@ -1,2 +1,15 @@
1
  # embed-api
2
  An embedding API with open source models.
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
  # embed-api
2
  An embedding API with open source models.
3
+
4
+ ## Install
5
+
6
+ ```sh
7
+ # pipreqs . --force --mode no-pin --encoding=utf-8
8
+ pip install -r requirements.txt
9
+ ```
10
+
11
+ # Run
12
+
13
+ ```sh
14
+ python -m app
15
+ ```
app.py CHANGED
@@ -1,6 +1,5 @@
1
  import argparse
2
  import markdown2
3
- import os
4
  import sys
5
  import uvicorn
6
 
 
1
  import argparse
2
  import markdown2
 
3
  import sys
4
  import uvicorn
5
 
requirements.txt CHANGED
@@ -1,3 +1,7 @@
 
 
1
  numpy
 
2
  tclogger
3
- transformers
 
 
1
+ fastapi
2
+ markdown2
3
  numpy
4
+ pydantic
5
  tclogger
6
+ transformers
7
+ uvicorn