Fix: return values
Browse files- .idea/workspace.xml +1 -1
- app.py +1 -1
.idea/workspace.xml
CHANGED
|
@@ -69,7 +69,7 @@
|
|
| 69 |
<workItem from="1713919910236" duration="1099000" />
|
| 70 |
<workItem from="1713921043559" duration="495000" />
|
| 71 |
<workItem from="1714055653743" duration="2106000" />
|
| 72 |
-
<workItem from="1714065328028" duration="
|
| 73 |
</task>
|
| 74 |
<servers />
|
| 75 |
</component>
|
|
|
|
| 69 |
<workItem from="1713919910236" duration="1099000" />
|
| 70 |
<workItem from="1713921043559" duration="495000" />
|
| 71 |
<workItem from="1714055653743" duration="2106000" />
|
| 72 |
+
<workItem from="1714065328028" duration="347000" />
|
| 73 |
</task>
|
| 74 |
<servers />
|
| 75 |
</component>
|
app.py
CHANGED
|
@@ -64,7 +64,7 @@ def generate_button_clicked(*args):
|
|
| 64 |
if input_image is None:
|
| 65 |
raise gr.Error("Missing Input: input_image")
|
| 66 |
if len(edit_instruction) == 0:
|
| 67 |
-
return input_image
|
| 68 |
|
| 69 |
GoogleDrive_connection_Path = ""
|
| 70 |
# GoogleDrive_connection_Path = "service_account.json"
|
|
|
|
| 64 |
if input_image is None:
|
| 65 |
raise gr.Error("Missing Input: input_image")
|
| 66 |
if len(edit_instruction) == 0:
|
| 67 |
+
return [input_image, seed, cfgtext, cfgimage]
|
| 68 |
|
| 69 |
GoogleDrive_connection_Path = ""
|
| 70 |
# GoogleDrive_connection_Path = "service_account.json"
|