Update app.py
Browse filestrouble-shooting
app.py
CHANGED
|
@@ -76,12 +76,12 @@ with gr.Blocks(theme='kfahn/AnimalPose') as demo:
|
|
| 76 |
with gr.Row():
|
| 77 |
prompts = gr.Textbox(label="Prompt")
|
| 78 |
with gr.Row():
|
| 79 |
-
|
| 80 |
with gr.Row():
|
| 81 |
-
|
| 82 |
with gr.Row():
|
| 83 |
submit_btn = gr.Button(value="Submit")
|
| 84 |
-
submit_btn.click(fn=infer, inputs = [prompts, negative_prompts,
|
| 85 |
with gr.Row():
|
| 86 |
report = wandb_report(report_url)
|
| 87 |
|
|
|
|
| 76 |
with gr.Row():
|
| 77 |
prompts = gr.Textbox(label="Prompt")
|
| 78 |
with gr.Row():
|
| 79 |
+
negative_prompts = gr.Textbox(label="Negative Prompt")
|
| 80 |
with gr.Row():
|
| 81 |
+
conditioning_image = gr.Image(label="Conditioning Image")
|
| 82 |
with gr.Row():
|
| 83 |
submit_btn = gr.Button(value="Submit")
|
| 84 |
+
submit_btn.click(fn=infer, inputs = [prompts, negative_prompts, conditioning_image], outputs = "gallery")
|
| 85 |
with gr.Row():
|
| 86 |
report = wandb_report(report_url)
|
| 87 |
|