Update app.py
Browse files
app.py
CHANGED
@@ -178,5 +178,5 @@ def function2(prompt):
|
|
178 |
response = response["imageUrl"]
|
179 |
return response
|
180 |
|
181 |
-
iface = gr.Interface(fn=
|
182 |
iface.launch()
|
|
|
178 |
response = response["imageUrl"]
|
179 |
return response
|
180 |
|
181 |
+
iface = gr.Interface(fn=function2, inputs="text", outputs="text")
|
182 |
iface.launch()
|