imseldrith commited on
Commit
521182b
·
1 Parent(s): 270b692

Update detector.py

Browse files
Files changed (1) hide show
  1. detector.py +1 -1
detector.py CHANGED
@@ -112,5 +112,5 @@ def api():
112
  # Render the results using a template
113
  return render_template('result.html', result=result)
114
  #Start the Flask application
115
- if name == 'main':
116
  app.run(debug=True, host="0.0.0.0", port=7860)
 
112
  # Render the results using a template
113
  return render_template('result.html', result=result)
114
  #Start the Flask application
115
+ if __name__ == '__main__':
116
  app.run(debug=True, host="0.0.0.0", port=7860)