Jokica17 commited on
Commit
67654d1
·
1 Parent(s): 138fdaa

revert: Added root_path for BE to make it accessible on Hugging Face Space

Browse files
Files changed (1) hide show
  1. app/api.py +1 -1
app/api.py CHANGED
@@ -1,6 +1,6 @@
1
  from fastapi import FastAPI, Query, HTTPException
2
 
3
- app = FastAPI(root_path="/api") # For backend access on Hugging Face Space
4
 
5
 
6
  @app.get("/search")
 
1
  from fastapi import FastAPI, Query, HTTPException
2
 
3
+ app = FastAPI()
4
 
5
 
6
  @app.get("/search")