For the first time, I’m trying to deploy my app Streamlit (very useful for an application for a job).
I’m able to run the streamlit application with local system. But when i’m trying to deploy it from my github, it doesn’t works.
I discover that I have to create a requirement.txt file so I did.
I also put into comment in my “streamlit-appw.py” lines for librairies importation because of the requirements files.
Coul someone help me understand the error ?
i konw that my repo missing some stuff (list below) but I will try to find a way after :
Images from image_train and image_test folder. But they are too many images and the size is too big. I have to find a way (github error when i’m trying to load the images because of the size
Now I have a problem with the dataset library.
Does anyone know the problem ?
I tried in the streamlit_appw.py file to put
import datasets
or
from datasets import load_dataset,load_vgg16_cnn_model,process_text, load_logisitc_regression_model, get_image
None of these colution work. I heve this type of message " name ‘load_dataset’ is not defined" or this type of message “cannot import name ‘get_image’ from ‘datasets’”
Ok but I don’t have any dataset declaration in my streamlit file.
Hello there 👋🏻
Thanks for stopping by! We use cookies to help us understand how you interact with our website.
By clicking “Accept all”, you consent to our use of cookies. For more information, please see our privacy policy.
Cookie settings
Strictly necessary cookies
These cookies are necessary for the website to function and cannot be switched off. They are usually only set in response to actions made by you which amount to a request for services, such as setting your privacy preferences, logging in or filling in forms.
Performance cookies
These cookies allow us to count visits and traffic sources so we can measure and improve the performance of our site. They help us understand how visitors move around the site and which pages are most frequently visited.
Functional cookies
These cookies are used to record your choices and settings, maintain your preferences over time and recognize you when you return to our website. These cookies help us to personalize our content for you and remember your preferences.
Targeting cookies
These cookies may be deployed to our site by our advertising partners to build a profile of your interest and provide you with content that is relevant to you, including showing you relevant ads on other websites.