AMfeta99 commited on
Commit
d054694
·
verified ·
1 Parent(s): 4abd9be

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -0
app.py CHANGED
@@ -10,6 +10,7 @@ class TextToImageTool(Tool):
10
 
11
  # `inputs` is a dictionary: argument_name -> type
12
  inputs = {"prompt": str}
 
13
  outputs = {"image": "image"} # Optional, type can be a string or class
14
 
15
  def __init__(self):
 
10
 
11
  # `inputs` is a dictionary: argument_name -> type
12
  inputs = {"prompt": str}
13
+ output_type = "image"
14
  outputs = {"image": "image"} # Optional, type can be a string or class
15
 
16
  def __init__(self):