heymenn commited on
Commit
6cf2fcb
·
verified ·
1 Parent(s): cd97f48

Delete app.py

Browse files
Files changed (1) hide show
  1. app.py +0 -20
app.py DELETED
@@ -1,20 +0,0 @@
1
- from fastapi import FastAPI
2
- from pydantic import BaseModel
3
-
4
- from app.core import process_input
5
-
6
- app = FastAPI(
7
- title="Insight Finder",
8
- description="Find relevant technologies from a problem",
9
- )
10
-
11
- class InputData(BaseModel):
12
- problem: str
13
-
14
- class OutputData(BaseModel):
15
- technologies: list
16
-
17
- @app.post("/process", response_model=OutputData)
18
- async def process(data: InputData):
19
- result = process_input(data)
20
- return result