pvanand commited on
Commit
eb92a4f
1 Parent(s): 954c28e

Update main.py

Browse files
Files changed (1) hide show
  1. main.py +1 -0
main.py CHANGED
@@ -1,4 +1,5 @@
1
  from fastapi import FastAPI, HTTPException, Request, Query
 
2
  from pydantic import BaseModel
3
  from typing import List, Dict, Any
4
  from helper_functions_api import md_to_html, search_brave, fetch_and_extract_content, limit_tokens, together_response, insert_data
 
1
  from fastapi import FastAPI, HTTPException, Request, Query
2
+ from fastapi.middleware.cors import CORSMiddleware
3
  from pydantic import BaseModel
4
  from typing import List, Dict, Any
5
  from helper_functions_api import md_to_html, search_brave, fetch_and_extract_content, limit_tokens, together_response, insert_data