Spaces:
Sleeping
Sleeping
Commit
·
5ba722d
1
Parent(s):
cbb8add
patch
Browse files
app.py
CHANGED
|
@@ -153,7 +153,7 @@ async def get_movie_card_api(title: str):
|
|
| 153 |
break
|
| 154 |
year = data['data']['year']
|
| 155 |
|
| 156 |
-
return JSONResponse(content={'title':eng_title, 'year': year, 'image': image})
|
| 157 |
|
| 158 |
raise HTTPException(status_code=404, detail="Card not found")
|
| 159 |
|
|
|
|
| 153 |
break
|
| 154 |
year = data['data']['year']
|
| 155 |
|
| 156 |
+
return JSONResponse(content={'title':eng_title, 'year': year, 'image': image, 'banner':banner})
|
| 157 |
|
| 158 |
raise HTTPException(status_code=404, detail="Card not found")
|
| 159 |
|