Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -4,6 +4,7 @@ import logging
|
|
4 |
from fastapi import FastAPI, HTTPException, BackgroundTasks
|
5 |
from fastapi.middleware.cors import CORSMiddleware
|
6 |
from fastapi.responses import StreamingResponse
|
|
|
7 |
import subprocess
|
8 |
from pydantic import BaseModel
|
9 |
from langchain.chains import RetrievalQA
|
|
|
4 |
from fastapi import FastAPI, HTTPException, BackgroundTasks
|
5 |
from fastapi.middleware.cors import CORSMiddleware
|
6 |
from fastapi.responses import StreamingResponse
|
7 |
+
from fastapi.responses import RedirectResponse
|
8 |
import subprocess
|
9 |
from pydantic import BaseModel
|
10 |
from langchain.chains import RetrievalQA
|