Spaces:
Runtime error
Runtime error
Revert "fix"
Browse filesThis reverts commit 2b50a45a53c160b5fe6874252c9c24cc55daba7f.
app.py
CHANGED
|
@@ -75,6 +75,8 @@ def process(
|
|
| 75 |
gr.Info("Please enter a text prompt.")
|
| 76 |
return None, None
|
| 77 |
|
|
|
|
|
|
|
| 78 |
image_path = input_image_editor['background']
|
| 79 |
mask_path = input_image_editor['layers'][0]
|
| 80 |
|
|
@@ -196,7 +198,6 @@ with gr.Blocks() as demo:
|
|
| 196 |
submit_button_component.click(
|
| 197 |
fn=process,
|
| 198 |
inputs=[
|
| 199 |
-
client_component,
|
| 200 |
input_image_editor_component,
|
| 201 |
inpainting_prompt_text_component,
|
| 202 |
masking_prompt_text_component,
|
|
|
|
| 75 |
gr.Info("Please enter a text prompt.")
|
| 76 |
return None, None
|
| 77 |
|
| 78 |
+
print(input_image_editor)
|
| 79 |
+
|
| 80 |
image_path = input_image_editor['background']
|
| 81 |
mask_path = input_image_editor['layers'][0]
|
| 82 |
|
|
|
|
| 198 |
submit_button_component.click(
|
| 199 |
fn=process,
|
| 200 |
inputs=[
|
|
|
|
| 201 |
input_image_editor_component,
|
| 202 |
inpainting_prompt_text_component,
|
| 203 |
masking_prompt_text_component,
|