omkar56 commited on
Commit
ad2b752
1 Parent(s): 581ee75

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -0
app.py CHANGED
@@ -14,6 +14,7 @@ from transformers import MarianMTModel, MarianTokenizer
14
  # Newly added below
15
  from fastapi import FastAPI, File, UploadFile, Body, Depends, HTTPException
16
  from fastapi.security.api_key import APIKeyHeader
 
17
  from fastapi.encoders import jsonable_encoder
18
 
19
  API_KEY = os.environ.get("API_KEY")
 
14
  # Newly added below
15
  from fastapi import FastAPI, File, UploadFile, Body, Depends, HTTPException
16
  from fastapi.security.api_key import APIKeyHeader
17
+ from typing import Optional
18
  from fastapi.encoders import jsonable_encoder
19
 
20
  API_KEY = os.environ.get("API_KEY")