Update app.py
Browse files
app.py
CHANGED
|
@@ -1,11 +1,7 @@
|
|
| 1 |
import gradio as gr
|
| 2 |
|
| 3 |
-
def process_points(
|
| 4 |
# Extract coordinates from input points
|
| 5 |
-
x1, y1, z1 = point1
|
| 6 |
-
x2, y2, z2 = point2
|
| 7 |
-
x3, y3, z3 = point3
|
| 8 |
-
|
| 9 |
# Format output string
|
| 10 |
output = f"""A({x1}, {y1}, {z1})\nB({x2}, {y2}, {z2})\nC({x3}, {y3}, {z3})\n"""
|
| 11 |
output += f"""
|
|
|
|
| 1 |
import gradio as gr
|
| 2 |
|
| 3 |
+
def process_points(x1, y1, z1, x2, y2, z2, x3, y3, z3):
|
| 4 |
# Extract coordinates from input points
|
|
|
|
|
|
|
|
|
|
|
|
|
| 5 |
# Format output string
|
| 6 |
output = f"""A({x1}, {y1}, {z1})\nB({x2}, {y2}, {z2})\nC({x3}, {y3}, {z3})\n"""
|
| 7 |
output += f"""
|