Spaces:
Runtime error
Runtime error
Update app.py
Browse files
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):
|