Forums

How to use a file in flask application

Hi I am developing a flask application which converts a word to a vector. For this, I am using a pretrained model by google which is around 3.5 GB in size.

from gensim import models model = models.KeyedVectors.load_word2vec_format('GoogleNews-vectors-negative300.bin', binary=True, limit=200000)

I have downloaded the file in my local machine and the code looks good. The issue is I am sure how to upload this file to my working directory as the upload limit is only 100 MB. Is there any other alternate way to download this file??

Thanks for your help...

you may use scp

agree with irtusb. Here is more info.