Deploy and Host Your Streamlit Websites for Free with Render and Streamlit Cloud

Поделиться
HTML-код
  • Опубликовано: 24 ноя 2024

Комментарии • 50

  • @niteshkushwaha9493
    @niteshkushwaha9493 7 месяцев назад

    Thanks for the video. Quick and to the point.

  • @NPC-to7ts
    @NPC-to7ts 8 месяцев назад

    amazing best hosting tutorial i have seen, quick, easy to understand and no nonesense. Thank you ;>

  • @marcsnuffythegreatest10
    @marcsnuffythegreatest10 8 месяцев назад

    Thanks ,.. it was very straight forward.. and moreover it worked perfectly. Thanks again!

  • @kanekisen9109
    @kanekisen9109 Месяц назад

    Thankyou ! It was really easy to follow !!

  • @arcanum360YT
    @arcanum360YT 10 месяцев назад

    Nice video. Looking at your welcome page I can see you have a login/sign up form which means you have connected your webapp to a database to store details. Could you do a video on that?

    • @beginnerscodezone
      @beginnerscodezone  10 месяцев назад +1

      Thanks, yes I have already created videos for that, there is a complete streamlit playlist of this project on my channel.

    • @arcanum360YT
      @arcanum360YT 10 месяцев назад

      Ok let me have a look
      @@beginnerscodezone

    • @NPC-to7ts
      @NPC-to7ts 8 месяцев назад

      if u dont want to connect to a database and just want to have login functions u can use google sheets

  • @gabrielmalasique-x1e
    @gabrielmalasique-x1e 9 месяцев назад

    Thanks for sharing this. It helped me a lot.

  • @YourVolunteer
    @YourVolunteer Год назад +2

    Nice tutorial, but it is showing me this error -Sep 29 10:04:46 PM Traceback (most recent call last):
    Sep 29 10:04:46 PM File "", line 1, in
    Sep 29 10:04:46 PM File "/usr/local/lib/python3.7/platform.py", line 116, in
    Sep 29 10:04:46 PM import sys, os, re, subprocess
    Sep 29 10:04:46 PM File "/opt/render/project/src/re.py", line 3, in
    Sep 29 10:04:46 PM import streamlit as st
    Sep 29 10:04:46 PM ModuleNotFoundError: No module named 'streamlit' Can you please do something about it 😕

    • @beginnerscodezone
      @beginnerscodezone  Год назад

      Thanks, try adding the current version of streamlit in requirements.txt. Like streamlit==1.27.0
      , do this for all packages if they also get module not found error.

    • @YourVolunteer
      @YourVolunteer Год назад

      @@beginnerscodezone Thanks 😀

  • @ragini2998
    @ragini2998 15 дней назад

    Thank you!

  • @SayaliYadav-h7x
    @SayaliYadav-h7x Год назад +2

    good work will you mak
    e same code for supabse database

    • @beginnerscodezone
      @beginnerscodezone  Год назад +3

      Thanks, I just saw Supabase, it seems good, I will use Supabase database for my next Project and will definitely make a video on that. Thanks for the suggestion.

  • @a_lone_wolf_3864
    @a_lone_wolf_3864 2 месяца назад

    It worked for me in Streamlit community cloud , but not worked in render. In render I always getting error, like it is saying " Failed deploy" . Could anyone solve this error? Which I got

    • @beginnerscodezone
      @beginnerscodezone  2 месяца назад +1

      @@a_lone_wolf_3864 there must be something regarding cause of error, check inside logs, paste the screenshot in discord channel, will be easy for debugging, thanks

  • @gopi_gin
    @gopi_gin Год назад

    Clear explanation.....Thankyou 👏👏👏

  • @QuantumboxAI-qw5db
    @QuantumboxAI-qw5db 7 месяцев назад

    WOW Well done ! no bias

  • @EEswar-li5ge
    @EEswar-li5ge 4 месяца назад

    Is it necessary to public repo? Or can we use private repo?

  • @onyemaechianthonyeze202
    @onyemaechianthonyeze202 5 месяцев назад

    Thank you so much, it has really helped me 😄

  • @Sabeer-k-s
    @Sabeer-k-s 8 месяцев назад

    ERROR: Failed building wheel for numpy
    Failed to build numpy
    ERROR: Could not build wheels for numpy, which is required to install pyproject.toml-based projects
    [end of output]
    why

    • @beginnerscodezone
      @beginnerscodezone  8 месяцев назад

      Hey try to put Numpy with its latest version in requirements.txt , ex:
      numpy = "1.26.4"
      thanks!!

  • @paramjjethwa8734
    @paramjjethwa8734 2 месяца назад

    maam this is amazing

  • @chaimakhoudri8272
    @chaimakhoudri8272 7 месяцев назад

    I tried to upload my data.csv and it give me the error of file too large more than 100 Mo if i drag it as a zip would it work it exist in the github but the app is showing erreur

    • @beginnerscodezone
      @beginnerscodezone  7 месяцев назад +1

      Hey, If you are saying that the zip file of csv is on github, then inside your code instead of directly loading csv, you should extract it from zip first and then read the csv, using:
      ******
      import pandas as pd
      import zipfile
      import os
      # Path to the downloaded zip file
      zip_file_path = "path/to/your/downloaded/zip/file.zip"
      # Path where you want to extract the zip file
      extracted_folder_path = "path/to/extracted/folder"
      # Extract the zip file
      with zipfile.ZipFile(zip_file_path, 'r') as zip_ref:
      zip_ref.extractall(extracted_folder_path)
      # List files in the extracted folder
      extracted_files = os.listdir(extracted_folder_path)
      # Assume there's only one CSV file in the extracted folder
      csv_file_name = [f for f in extracted_files if f.endswith('.csv')][0]
      # Path to the CSV file
      csv_file_path = os.path.join(extracted_folder_path, csv_file_name)
      # Read the CSV file using Pandas
      df = pd.read_csv(csv_file_path)
      ******
      ** If that also doesn't work, you can try uploading the csv in multiple parts and then read them one by one like in df1,df2,df3 and then concat them into 1 df.
      ** Also, while pushing the code from terminal using git command, you can push a slight large file compared to uploading on github website.
      ** If you want another approach, then you can upload the csv somewhere else on the web, maybe on google drive, and then read the csv using its url, like this:
      csv_url = 'raw.githubusercontent.com/username/repository/master/data.csv'
      # Read the CSV file directly from the URL
      df = pd.read_csv(csv_url)
      --- I hope this helps, ask me if you face any other issues, thanks!

  • @LeonardoLSoveral
    @LeonardoLSoveral 6 месяцев назад +1

    Thank you (Y) so much

  • @prajwalssreddy2910
    @prajwalssreddy2910 Год назад +2

    how to upload 180mb file to github

    • @beginnerscodezone
      @beginnerscodezone  Год назад +2

      You can't directly upload a single file over 100mb on github.
      Try:
      - host the file externally like on google drive and put the link to it in repo.
      - or split file in separate smaller files < 100 mb.
      - or use github large files, it can be a bit complex, search for it online

    • @swarefrector7545
      @swarefrector7545 5 месяцев назад

      ruclips.net/video/dpZQFTXSfjs/видео.htmlsi=IozY37G6yQuZ3at9

  • @PG-fw3ll
    @PG-fw3ll 4 месяца назад

    I am also getting the same error in streamlit at 11:00 how to tackle this

    • @beginnerscodezone
      @beginnerscodezone  4 месяца назад

      This is coming because we haven't uploaded the json file, I would suggest you to use render and upload your secrets/files in the environment tab, like this: drive.google.com/file/d/1jLfTIQyS6tc6iAX6eO_J-ca_Ti5h2STm/view?usp=sharing . If you still get any errors there, then drop a message with error photo in our discord channel, thanks.

  • @Pushpakumari-sl3cb
    @Pushpakumari-sl3cb 3 месяца назад

    I'm getting the error by using streamlit and render too.😢
    dlib-19.24.99-cp312-cp312-win-amd64.whl is not a supported wheel on this platform

    • @beginnerscodezone
      @beginnerscodezone  3 месяца назад

      This error could be due to various reasons, I would suggest you to use Python version 3.10 if possible,
      try running the following command in terminal: 'pip install dlib' and maybe 'pip install --upgrade pip', use latest streamlit version. These should resolve the error, lemme know if none works, thanks

    • @Pushpakumari-sl3cb
      @Pushpakumari-sl3cb 3 месяца назад

      @@beginnerscodezoneokay 👍 lemme give it a try

    • @Pushpakumari-sl3cb
      @Pushpakumari-sl3cb 3 месяца назад

      @@beginnerscodezone Hey sis👋 I'm still getting the same error 🥺 after following acc. to your instructions given

  • @utkarshashinde9167
    @utkarshashinde9167 10 месяцев назад

    thank You so much ..........

  • @sidindian1982
    @sidindian1982 Год назад

    Ma'am is stream lit cloud paid or free?? ... If its free how many day/ month??
    Pls advice... Thx 🙏🙏🙏🙏

    • @beginnerscodezone
      @beginnerscodezone  11 месяцев назад

      Streamlit cloud is free, there is no time limit I guess, but maybe there could be resource limit like 1Gb Ram. For learning, or for less users, it would be great.
      For other cases we have multiple options also like AWS ec2 instance, you can check them out.
      Thanks

  • @jonux13
    @jonux13 Год назад

    Render has inactivity delay: 30 sec (after 15 minutes of inactivity)

    • @beginnerscodezone
      @beginnerscodezone  Год назад

      Yeah, there are limitations like this with these kind of free services, but is should be okay for self projects/learning. For production based applications we should consider better platforms.

  • @rishavsiwach9869
    @rishavsiwach9869 Год назад +1

    🤙🤙

  • @esotericwanderer6473
    @esotericwanderer6473 7 месяцев назад

    can we deploy openai projects in render, is our api key safe, where to add secret environmental variables so that our api keys are safe?

    • @beginnerscodezone
      @beginnerscodezone  7 месяцев назад

      There is an option under advanced settings on render for environment variables, secret files, etc. you can pass your keys there, I will upload a video regarding this, but for now if you face any issues feel free to ask here or on our discord server.
      Thanks

    • @esotericwanderer6473
      @esotericwanderer6473 6 месяцев назад

      @@beginnerscodezone got it, thank you