fjenett commited on
Commit
362f9c0
1 Parent(s): 90c0555

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +7 -1
app.py CHANGED
@@ -40,7 +40,9 @@ def detect_ellipses(img_path):
40
  aamed.setParameters(3.1415926/3, 3.4, 0.77)
41
 
42
  result = aamed.run_AAMED(imgG)
 
43
  result = result.replace(' ', ', ')
 
44
  result = json.loads(result)
45
  print(result)
46
 
@@ -60,4 +62,8 @@ gr.Interface(
60
  title=title,
61
  examples=examples,
62
  allow_flagging='never'
63
- ).launch(server_name="0.0.0.0", server_port=7860)
 
 
 
 
 
40
  aamed.setParameters(3.1415926/3, 3.4, 0.77)
41
 
42
  result = aamed.run_AAMED(imgG)
43
+ print(result)
44
  result = result.replace(' ', ', ')
45
+ print(result)
46
  result = json.loads(result)
47
  print(result)
48
 
 
62
  title=title,
63
  examples=examples,
64
  allow_flagging='never'
65
+ ).launch(
66
+ debug=True,
67
+ server_name="0.0.0.0",
68
+ server_port=7860
69
+ )