shukdevdatta123 commited on
Commit
3a58df8
·
verified ·
1 Parent(s): ee3aaf3

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -0
app.py CHANGED
@@ -80,6 +80,8 @@ def algorithms_cycle_detection():
80
  for edge in edges_input.split(","):
81
  edge = edge.strip()
82
  if edge: # Ensure the string is not empty
 
 
83
  # Remove spaces and extra characters, and convert to tuple
84
  edge_tuple = edge.strip("()").split(",")
85
  if len(edge_tuple) == 2:
 
80
  for edge in edges_input.split(","):
81
  edge = edge.strip()
82
  if edge: # Ensure the string is not empty
83
+ # Print the edge string to debug
84
+ st.write(f"Parsing edge: {edge}")
85
  # Remove spaces and extra characters, and convert to tuple
86
  edge_tuple = edge.strip("()").split(",")
87
  if len(edge_tuple) == 2: