Spaces:
Sleeping
Sleeping
move to new Gradio API
Browse files
app.py
CHANGED
@@ -10,7 +10,7 @@ def generate_image_predictions(prompt):
|
|
10 |
iface = gr.Interface(
|
11 |
fn=generate_image_predictions,
|
12 |
inputs="text",
|
13 |
-
outputs=[gr.
|
14 |
title="Map Diffuser",
|
15 |
description="Generates four images from a given text prompt.",
|
16 |
examples=[["Satellite image of amsterdam with industrial area and highways"], [
|
|
|
10 |
iface = gr.Interface(
|
11 |
fn=generate_image_predictions,
|
12 |
inputs="text",
|
13 |
+
outputs=[gr.Image() for i in range(4)],
|
14 |
title="Map Diffuser",
|
15 |
description="Generates four images from a given text prompt.",
|
16 |
examples=[["Satellite image of amsterdam with industrial area and highways"], [
|