kfahn commited on
Commit
b6e7466
1 Parent(s): cfce9d6

Update app.py

Browse files

trouble-shooting

Files changed (1) hide show
  1. app.py +4 -4
app.py CHANGED
@@ -74,14 +74,14 @@ with gr.Blocks(theme='kfahn/AnimalPose') as demo:
74
  with gr.Row():
75
  keypoint_tool = gr.HTML(lines)
76
  with gr.Row():
77
- pos_prompts = gr.Textbox(label="Prompt")
78
  with gr.Row():
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
 
 
74
  with gr.Row():
75
  keypoint_tool = gr.HTML(lines)
76
  with gr.Row():
77
+ prompts = gr.Textbox(label="Prompt")
78
  with gr.Row():
79
  neg_prompts = gr.Textbox(label="Negative Prompt")
80
  with gr.Row():
81
+ 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, image], outputs = "gallery")
85
  with gr.Row():
86
  report = wandb_report(report_url)
87