Update app.py
Browse filestrouble-shooting button
app.py
CHANGED
|
@@ -79,10 +79,12 @@ with gr.Blocks(theme='kfahn/AnimalPose') as demo:
|
|
| 79 |
neg_prompts = gr.Textbox(label="Negative Prompt")
|
| 80 |
with gr.Row():
|
| 81 |
image = gr.Image()
|
|
|
|
|
|
|
|
|
|
| 82 |
with gr.Row():
|
| 83 |
report = wandb_report(report_url)
|
| 84 |
-
|
| 85 |
-
btn.click(fn=infer, inputs = ["text", "text", "image"], outputs = "gallery")
|
| 86 |
|
| 87 |
#gr.Interface(fn=infer, inputs = ["text", "text", "image"], outputs = "gallery",
|
| 88 |
# examples=[["a Labrador crossing the road", "low quality", control_image]])
|
|
|
|
| 79 |
neg_prompts = gr.Textbox(label="Negative Prompt")
|
| 80 |
with gr.Row():
|
| 81 |
image = gr.Image()
|
| 82 |
+
with gr.Row():
|
| 83 |
+
btn = gr.Button("Run")
|
| 84 |
+
btn.click(fn=infer, inputs = ["text", "text", "image"], outputs = "gallery")
|
| 85 |
with gr.Row():
|
| 86 |
report = wandb_report(report_url)
|
| 87 |
+
|
|
|
|
| 88 |
|
| 89 |
#gr.Interface(fn=infer, inputs = ["text", "text", "image"], outputs = "gallery",
|
| 90 |
# examples=[["a Labrador crossing the road", "low quality", control_image]])
|