datien228 commited on
Commit
7b83132
·
1 Parent(s): 3e8fd1e
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -5,7 +5,7 @@ from flask_cors import CORS, cross_origin
5
  import __main__
6
 
7
  app = Flask(__name__)
8
- cors = CORS(app, supports_credentials=True, resources={r"/api/*": {"origins": "http://0.0.0.0"}})
9
  # shortTokenizer = BartTokenizer.from_pretrained('sshleifer/distilbart-xsum-12-6')
10
  # shortModel = BartForConditionalGeneration.from_pretrained('sshleifer/distilbart-xsum-12-6')
11
 
 
5
  import __main__
6
 
7
  app = Flask(__name__)
8
+ cors = CORS(app, supports_credentials=True, resources={r"/*": {"origins": "http://0.0.0.0"}})
9
  # shortTokenizer = BartTokenizer.from_pretrained('sshleifer/distilbart-xsum-12-6')
10
  # shortModel = BartForConditionalGeneration.from_pretrained('sshleifer/distilbart-xsum-12-6')
11