Aaron Xavier commited on
Commit
65c63f5
·
1 Parent(s): 07cbfeb

Final commit before deploy

Browse files
Files changed (3) hide show
  1. .gitignore +2 -0
  2. app.py +1 -0
  3. main.py +4 -4
.gitignore ADDED
@@ -0,0 +1,2 @@
 
 
 
1
+ .gradio/flagged/dataset1.csv
2
+ __pycache__/main.cpython-311.pyc
app.py CHANGED
@@ -1,6 +1,7 @@
1
  import gradio as gr
2
  from helper import *
3
  from main import is_intersecting
 
4
  def result(l1,l2):
5
  if is_intersecting(l1,l2):
6
  return f"The lines are intersecting"
 
1
  import gradio as gr
2
  from helper import *
3
  from main import is_intersecting
4
+
5
  def result(l1,l2):
6
  if is_intersecting(l1,l2):
7
  return f"The lines are intersecting"
main.py CHANGED
@@ -1,6 +1,6 @@
1
- from helper import *
2
 
3
  def is_intersecting(l1, l2):
4
- if l1.slope == l2.slope:
5
- return False
6
- return True
 
 
 
1
 
2
  def is_intersecting(l1, l2):
3
+ # if intersecting
4
+ # return True
5
+ # else
6
+ return False