Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -46,4 +46,5 @@ def generate_image():
|
|
| 46 |
return StreamingResponse(img_byte_arr, media_type="image/png")
|
| 47 |
|
| 48 |
except Exception as e:
|
| 49 |
-
raise HTTPException(status_code=500, detail=str(e))
|
|
|
|
|
|
| 46 |
return StreamingResponse(img_byte_arr, media_type="image/png")
|
| 47 |
|
| 48 |
except Exception as e:
|
| 49 |
+
raise HTTPException(status_code=500, detail=str(e))
|
| 50 |
+
|