Ilyas KHIAT commited on
Commit
05971d9
1 Parent(s): eb6c9bd
Files changed (1) hide show
  1. main.py +1 -6
main.py CHANGED
@@ -1,8 +1,7 @@
1
  from fastapi import FastAPI, HTTPException, UploadFile, File,Request,Depends,status,BackgroundTasks
2
  from fastapi.security import OAuth2PasswordBearer
3
- from pydantic import BaseModel, Json,EmailStr
4
  from typing import Optional
5
- from pinecone import Pinecone, ServerlessSpec
6
  from uuid import uuid4
7
  import os
8
  from dotenv import load_dotenv
@@ -10,13 +9,9 @@ from rag import *
10
  from fastapi.responses import StreamingResponse
11
  import json
12
  from prompt import *
13
- from typing import Literal
14
- import time
15
  from fastapi.middleware.cors import CORSMiddleware
16
  import requests
17
 
18
- import smtplib
19
- from email.mime.text import MIMEText
20
 
21
 
22
  load_dotenv()
 
1
  from fastapi import FastAPI, HTTPException, UploadFile, File,Request,Depends,status,BackgroundTasks
2
  from fastapi.security import OAuth2PasswordBearer
3
+ from pydantic import BaseModel
4
  from typing import Optional
 
5
  from uuid import uuid4
6
  import os
7
  from dotenv import load_dotenv
 
9
  from fastapi.responses import StreamingResponse
10
  import json
11
  from prompt import *
 
 
12
  from fastapi.middleware.cors import CORSMiddleware
13
  import requests
14
 
 
 
15
 
16
 
17
  load_dotenv()