feng2022 commited on
Commit
a54ecf1
1 Parent(s): 5266bb1

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -95,7 +95,7 @@ def main():
95
  iface = gr.Interface(
96
  fn=image_create,
97
  inputs='text',
98
- gr.outputs.Image(type='numpy', label='Output'),
99
  title=TITLE,
100
  description=DESCRIPTION,
101
  article=ARTICLE,
 
95
  iface = gr.Interface(
96
  fn=image_create,
97
  inputs='text',
98
+ outputs='image',
99
  title=TITLE,
100
  description=DESCRIPTION,
101
  article=ARTICLE,