saburq commited on
Commit
b118994
·
1 Parent(s): 22cda6d

move to new Gradio API

Browse files
Files changed (1) hide show
  1. app.py +1 -1
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.outputs.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"], [
 
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"], [