fetch image
Browse files- controller.py +1 -0
controller.py
CHANGED
@@ -128,6 +128,7 @@ async def get_image(request: ImageRequest, authorization: str = Header(None)):
|
|
128 |
raise HTTPException(status_code=403, detail="Invalid token")
|
129 |
|
130 |
try:
|
|
|
131 |
image_file_path = request.image_path
|
132 |
unique_file_name =f'{str(uuid.uuid4())}.png'
|
133 |
logger.info("Uploading the chart to supabase...")
|
|
|
128 |
raise HTTPException(status_code=403, detail="Invalid token")
|
129 |
|
130 |
try:
|
131 |
+
logger.info("Groq Chat created a chat for the user query...")
|
132 |
image_file_path = request.image_path
|
133 |
unique_file_name =f'{str(uuid.uuid4())}.png'
|
134 |
logger.info("Uploading the chart to supabase...")
|