datien228 commited on
Commit
41473e7
1 Parent(s): 205d5bb

Add host address and port

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -36,7 +36,7 @@ def main():
36
  # app.config['TEMPLATES_AUTO_RELOAD'] = True
37
  # app.config['SEND_FILE_MAX_AGE_DEFAULT'] = 0
38
  # app.run(debug=True)
39
- app.run()
40
 
41
  if __name__ == '__main__':
42
  print("Loading BART model and tokenzier . . .")
 
36
  # app.config['TEMPLATES_AUTO_RELOAD'] = True
37
  # app.config['SEND_FILE_MAX_AGE_DEFAULT'] = 0
38
  # app.run(debug=True)
39
+ app.run(host='0.0.0.0', port=7860)
40
 
41
  if __name__ == '__main__':
42
  print("Loading BART model and tokenzier . . .")