This commit is contained in:
Timothy Jaeryang Baek committed 2025-11-04 17:58:51 -05:00
1 parent a4fd26b478
commit 75efa4f931
1 file changed
+3
+3
View File
@@ -360,6 +360,9 @@ class CreateImageForm(BaseModel):
negative_prompt: Optional[str] = None
GenerateImageForm = CreateImageForm # Alias for backward compatibility
def get_image_data(data: str, headers=None):
try:
# if data url