Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
@@ -352,7 +352,7 @@ with gr.Blocks(css=css) as demo:
|
|
352 |
processed_zip = gr.File(label="Output Archive")
|
353 |
result = gr.Model3D(label="3D Mesh", clear_color=[0.5, 0.5, 0.5, 0.0], camera_position=[0, 90, 0])
|
354 |
svg_in = gr.HTML(value="""
|
355 |
-
<svg id='svg_in' height='128' width='256' viewBox='0 0 256 128' onpointerup='document.getElementsByTagName(\"input[type=text]\")[1].value=document.getElementById(\"pl\").getAttribute(\"points\")' onpointermove='try{chartPoints(event.clientX-this.getBoundingClientRect().x, event.clientY-this.getBoundingClientRect().y);}catch(e){alert(e);}' xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink' style='touch-action:none;'>
|
356 |
<defs>
|
357 |
<linearGradient id="lg" x1="0%" x2="100%" y1="0%" y2="0%">
|
358 |
<stop offset="0%" stop-color="white"/>
|
|
|
352 |
processed_zip = gr.File(label="Output Archive")
|
353 |
result = gr.Model3D(label="3D Mesh", clear_color=[0.5, 0.5, 0.5, 0.0], camera_position=[0, 90, 0])
|
354 |
svg_in = gr.HTML(value="""
|
355 |
+
<svg id='svg_in' height='128' width='256' viewBox='0 0 256 128' onpointerup='document.getElementsByTagName(\"input[type=text]\")[1].value=document.getElementById(\"pl\").getAttribute(\"points\")' onpointermove='try{window.chartPoints(event.clientX-this.getBoundingClientRect().x, event.clientY-this.getBoundingClientRect().y);}catch(e){alert(e);}' xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink' style='touch-action:none;'>
|
356 |
<defs>
|
357 |
<linearGradient id="lg" x1="0%" x2="100%" y1="0%" y2="0%">
|
358 |
<stop offset="0%" stop-color="white"/>
|