broadfield-dev commited on
Commit
e2897a1
·
verified ·
1 Parent(s): 8cc42bf

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -339,5 +339,5 @@ def create_hf_space():
339
  def get_docs():
340
  """Return the API documentation as plain text."""
341
  return Response(DOCUMENTATION, mimetype='text/plain'), 200
342
- if name == 'main':
343
  app.run(host='0.0.0.0', port=7860)
 
339
  def get_docs():
340
  """Return the API documentation as plain text."""
341
  return Response(DOCUMENTATION, mimetype='text/plain'), 200
342
+ if '__name__'== '__main__':
343
  app.run(host='0.0.0.0', port=7860)