Update app.py
Browse files
app.py
CHANGED
|
@@ -17,6 +17,9 @@ from googleapiclient.http import MediaIoBaseDownload
|
|
| 17 |
import io
|
| 18 |
from requests.packages.urllib3.exceptions import InsecureRequestWarning
|
| 19 |
warnings.simplefilter('ignore', InsecureRequestWarning)
|
|
|
|
|
|
|
|
|
|
| 20 |
|
| 21 |
# Prompt dosyasını import et
|
| 22 |
from prompts import get_prompt_content_only
|
|
|
|
| 17 |
import io
|
| 18 |
from requests.packages.urllib3.exceptions import InsecureRequestWarning
|
| 19 |
warnings.simplefilter('ignore', InsecureRequestWarning)
|
| 20 |
+
from fastapi import FastAPI, Response
|
| 21 |
+
from fastapi.middleware.cors import CORSMiddleware
|
| 22 |
+
|
| 23 |
|
| 24 |
# Prompt dosyasını import et
|
| 25 |
from prompts import get_prompt_content_only
|