ChihChiu29 commited on
Commit
7745907
1 Parent(s): 81ddaed

add basic files

Browse files
Files changed (2) hide show
  1. main.py +7 -0
  2. requirements.txt +6 -0
main.py ADDED
@@ -0,0 +1,7 @@
 
 
 
 
 
 
 
 
1
+ from fastapi import FastAPI
2
+
3
+ app = FastAPI()
4
+
5
+
6
+ def read_root():
7
+ return {"Hello": "World!"}
requirements.txt ADDED
@@ -0,0 +1,6 @@
 
 
 
 
 
 
 
1
+ fastapi==0.74.*
2
+ requests==2.27.*
3
+ sentencepiece==0.1.*
4
+ torch==1.11.*
5
+ transformers==4.*
6
+ uvicorn[standard]==0.17.*