art-bashkirev commited on
Commit
d12da82
·
verified ·
1 Parent(s): 8ccdb9f

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -1
app.py CHANGED
@@ -14,7 +14,9 @@ def process_points(x1, y1, z1, x2, y2, z2, x3, y3, z3):
14
  |{x2-x1} {y2-y1} {z2-z1}|
15
  |{x3-x1} {y3-y1} {z3-z1}|\n
16
  """
17
- output += f"""(x-{x1})[(),()]"""
 
 
18
  return output
19
 
20
  # Define Gradio interface
 
14
  |{x2-x1} {y2-y1} {z2-z1}|
15
  |{x3-x1} {y3-y1} {z3-z1}|\n
16
  """
17
+ output += f"""(x - {x1})[({y2-y1}, {z2-z1}),({y3-y1}, {z3-z1})] -
18
+ - (y - {y1})[({x2 - x1}, {z2-z1}),({x3-x1}, {z3 - z1})] +
19
+ + (z - {z1})[({x2 - x1}, {x3 - x1}),({y2 - y1}, {y3 - y1})]"""
20
  return output
21
 
22
  # Define Gradio interface