tensorgirl commited on
Commit
a007ed6
1 Parent(s): 7938cd4

Update main.py

Browse files
Files changed (1) hide show
  1. main.py +1 -5
main.py CHANGED
@@ -105,13 +105,9 @@ def upload_file(file_path):
105
 
106
  return db
107
 
108
-
109
- class Item(BaseModel):
110
- code: str
111
-
112
  @app.get("/")
113
  async def root():
114
- return {"Code Review Automation":"Version 1.0 'First Draft'"}
115
 
116
  @app.post("/UploadFile/")
117
  def predict(question: str, file: UploadFile = File(...)):
 
105
 
106
  return db
107
 
 
 
 
 
108
  @app.get("/")
109
  async def root():
110
+ return {"Entvin":"Version 1.0 'First Draft'"}
111
 
112
  @app.post("/UploadFile/")
113
  def predict(question: str, file: UploadFile = File(...)):