kfahn commited on
Commit
2e09612
1 Parent(s): 62c3834

Update app.py

Browse files

change name of button to submit

Files changed (1) hide show
  1. app.py +4 -4
app.py CHANGED
@@ -14,9 +14,9 @@ with open("test.html") as f:
14
  def create_key(seed=0):
15
  return jax.random.PRNGKey(seed)
16
 
17
- def addp5sketch(url):
18
- iframe = f'<iframe src ={url} style="border:none;height:525px;width:100%"/frame>'
19
- return gr.HTML(iframe)
20
 
21
  def wandb_report(url):
22
  iframe = f'<iframe src ={url} style="border:none;height:1024px;width:100%"/frame>'
@@ -83,7 +83,7 @@ with gr.Blocks(theme='kfahn/AnimalPose') as demo:
83
  #keypoint_tool = addp5sketch(sketch_url)
84
  keypoint_tool = gr.HTML(lines)
85
 
86
- submit_btn = gr.Button(value="Submit")
87
  submit_btn.click(fn=infer, inputs = ["text", "text", "image"], outputs = "gallery")
88
  #examples=[["a Labrador crossing the road", "low quality", "myimage.jpg"]])
89
 
 
14
  def create_key(seed=0):
15
  return jax.random.PRNGKey(seed)
16
 
17
+ #def addp5sketch(url):
18
+ # iframe = f'<iframe src ={url} style="border:none;height:525px;width:100%"/frame>'
19
+ # return gr.HTML(iframe)
20
 
21
  def wandb_report(url):
22
  iframe = f'<iframe src ={url} style="border:none;height:1024px;width:100%"/frame>'
 
83
  #keypoint_tool = addp5sketch(sketch_url)
84
  keypoint_tool = gr.HTML(lines)
85
 
86
+ submit_btn = gr.Button("Submit")
87
  submit_btn.click(fn=infer, inputs = ["text", "text", "image"], outputs = "gallery")
88
  #examples=[["a Labrador crossing the road", "low quality", "myimage.jpg"]])
89