Spaces:
Runtime error
Runtime error
Add host address and port
Browse files
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 . . .")
|