Dvirmor100 commited on
Commit
fb1ba1c
·
1 Parent(s): 16d427f

feat(app): added neccesary files to run sample sapce in hugging face

Browse files
Files changed (2) hide show
  1. requirements.txt +2 -0
  2. src/app.py +7 -0
requirements.txt CHANGED
@@ -0,0 +1,2 @@
 
 
 
1
+ fastapi
2
+ uvicorn[standard]
src/app.py ADDED
@@ -0,0 +1,7 @@
 
 
 
 
 
 
 
 
1
+ from fastapi import FastAPI
2
+
3
+ app = FastAPI()
4
+
5
+ @app.get("/")
6
+ def greet_json():
7
+ return {"Hello": "World!"}