freealise commited on
Commit
84d1dc0
1 Parent(s): 1880eb2

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -394,10 +394,10 @@ with gr.Blocks(css=css) as demo:
394
  <stop offset='100%' stop-color='black'/>
395
  </linearGradient>
396
  </defs>
397
- <polyline id='pl' points='-3,0 0,127 255,127 258,0' stroke='url(#lg)' fill='none' stroke-width='3'/>
398
  </svg>""")
399
  blur_in = gr.Textbox(value="", label="Blur kernel size")
400
- average = gr.HTML(value="""<label for='average'>Average</label><input id='average' type='range' style='width:256px;height:1em;' value='1' min='1' max='255' step='2' onclick='
401
  var pts_a = document.getElementsByTagName(\"textarea\")[1].value.split(\" \");
402
  for (var i=0; i<pts_a.length; i++) {
403
  var avg = 0;
 
394
  <stop offset='100%' stop-color='black'/>
395
  </linearGradient>
396
  </defs>
397
+ <polyline id='pl' points='-3,0 0,127 255,127 258,0' stroke='url(#lg)' fill='none' stroke-width='3' stroke-linejoin='round'/>
398
  </svg>""")
399
  blur_in = gr.Textbox(value="", label="Blur kernel size")
400
+ average = gr.HTML(value="""<label for='average'>Average</label><input id='average' type='range' style='width:256px;height:1em;' value='1' min='1' max='15' step='2' onclick='
401
  var pts_a = document.getElementsByTagName(\"textarea\")[1].value.split(\" \");
402
  for (var i=0; i<pts_a.length; i++) {
403
  var avg = 0;