Hector Lopez commited on
Commit
1daaa41
·
1 Parent(s): b14a509

Fixing bug

Browse files
Files changed (1) hide show
  1. app.py +3 -3
app.py CHANGED
@@ -45,8 +45,8 @@ examples = [
45
  ['example_imgs/basura_3.jpg', 0.5, 0.5]
46
  ]
47
 
48
- gr.close_all()
49
- port = get_first_available_port(1000, 9000)
50
 
51
  gr.Interface(
52
  waste_detector_interface,
@@ -56,4 +56,4 @@ gr.Interface(
56
  description=description,
57
  examples=examples,
58
  theme="huggingface",
59
- ).launch(server_port=port)
 
45
  ['example_imgs/basura_3.jpg', 0.5, 0.5]
46
  ]
47
 
48
+ #gr.close_all()
49
+ #port = get_first_available_port(1000, 9000)
50
 
51
  gr.Interface(
52
  waste_detector_interface,
 
56
  description=description,
57
  examples=examples,
58
  theme="huggingface",
59
+ ).launch()