AroojImtiaz commited on
Commit
66ce6a3
·
verified ·
1 Parent(s): 41d63dc

Update main.py

Browse files
Files changed (1) hide show
  1. main.py +3 -1
main.py CHANGED
@@ -1,9 +1,11 @@
1
  import re
2
  import string
3
  import nltk
4
- from fastapi import FastAPI, HTTPException, RedirectResponse
5
  from pydantic import BaseModel
6
  from transformers import pipeline
 
 
 
7
 
8
  # Initialize FastAPI app and download necessary NLTK resources
9
  app = FastAPI()
 
1
  import re
2
  import string
3
  import nltk
 
4
  from pydantic import BaseModel
5
  from transformers import pipeline
6
+ from fastapi import FastAPI, HTTPException
7
+ from fastapi.responses import RedirectResponse
8
+
9
 
10
  # Initialize FastAPI app and download necessary NLTK resources
11
  app = FastAPI()