Spaces:
Sleeping
Sleeping
V2 second attemt
Browse files- .gitignore +0 -1
- router.py +0 -4
.gitignore
CHANGED
@@ -1,3 +1,2 @@
|
|
1 |
searcher.py
|
2 |
-
README.md
|
3 |
*.ipynb
|
|
|
1 |
searcher.py
|
|
|
2 |
*.ipynb
|
router.py
CHANGED
@@ -24,10 +24,6 @@ class InputData(BaseModel):
|
|
24 |
data: List[UserData]
|
25 |
|
26 |
|
27 |
-
@app.post("/")
|
28 |
-
async def run_script():
|
29 |
-
return "Visit /docs !!!"
|
30 |
-
|
31 |
@app.post("/get")
|
32 |
async def run_script(input_Data: InputData, token: str = Header(None, alias="api-token")):
|
33 |
try:
|
|
|
24 |
data: List[UserData]
|
25 |
|
26 |
|
|
|
|
|
|
|
|
|
27 |
@app.post("/get")
|
28 |
async def run_script(input_Data: InputData, token: str = Header(None, alias="api-token")):
|
29 |
try:
|