Spaces:
Running
Running
Update multimodel_services/replicate_generation_service.py
Browse files
multimodel_services/replicate_generation_service.py
CHANGED
|
@@ -34,7 +34,7 @@ def generate_image_with_model(model_name: str, prompt: str, ui_params: Optional[
|
|
| 34 |
# Google Nano Banana expects image_input as an array
|
| 35 |
input_data["image_input"] = [image_data_url]
|
| 36 |
|
| 37 |
-
print(f"Generating with {model_name}")
|
| 38 |
|
| 39 |
# Generate image
|
| 40 |
output = client.run(model_name, input=input_data)
|
|
|
|
| 34 |
# Google Nano Banana expects image_input as an array
|
| 35 |
input_data["image_input"] = [image_data_url]
|
| 36 |
|
| 37 |
+
# print(f"Generating with {model_name}")
|
| 38 |
|
| 39 |
# Generate image
|
| 40 |
output = client.run(model_name, input=input_data)
|