Spaces:
Running
Running
revert: Added root_path for BE to make it accessible on Hugging Face Space
Browse files- app/api.py +1 -1
app/api.py
CHANGED
@@ -1,6 +1,6 @@
|
|
1 |
from fastapi import FastAPI, Query, HTTPException
|
2 |
|
3 |
-
app = FastAPI(
|
4 |
|
5 |
|
6 |
@app.get("/search")
|
|
|
1 |
from fastapi import FastAPI, Query, HTTPException
|
2 |
|
3 |
+
app = FastAPI()
|
4 |
|
5 |
|
6 |
@app.get("/search")
|