Spaces:
Build error
Build error
Update app.py
Browse files
app.py
CHANGED
|
@@ -1,7 +1,7 @@
|
|
| 1 |
import streamlit as st
|
| 2 |
import numpy as np
|
| 3 |
import matplotlib.pyplot as plt
|
| 4 |
-
from matplotlib.patches import Polygon
|
| 5 |
|
| 6 |
# Function to calculate the distance between two points
|
| 7 |
def calculate_distance(x1, y1, x2, y2):
|
|
|
|
| 1 |
import streamlit as st
|
| 2 |
import numpy as np
|
| 3 |
import matplotlib.pyplot as plt
|
| 4 |
+
from matplotlib.patches import Polygon, Circle
|
| 5 |
|
| 6 |
# Function to calculate the distance between two points
|
| 7 |
def calculate_distance(x1, y1, x2, y2):
|