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

แชร์
ฝัง
  • เผยแพร่เมื่อ 6 ก.ย. 2024

ความคิดเห็น • 48

  • @a_lone_wolf_3864
    @a_lone_wolf_3864 9 วันที่ผ่านมา

    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  9 วันที่ผ่านมา +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

  • @paramjjethwa8734
    @paramjjethwa8734 4 วันที่ผ่านมา

    maam this is amazing

  • @marcsnuffythegreatest10
    @marcsnuffythegreatest10 5 หลายเดือนก่อน

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

  • @NPC-to7ts
    @NPC-to7ts 5 หลายเดือนก่อน

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

  • @YourVolunteer
    @YourVolunteer 11 หลายเดือนก่อน +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  11 หลายเดือนก่อน

      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 11 หลายเดือนก่อน

      @@beginnerscodezone Thanks 😀

  • @niteshkushwaha9493
    @niteshkushwaha9493 5 หลายเดือนก่อน

    Thanks for the video. Quick and to the point.

  • @QuantumboxAI-qw5db
    @QuantumboxAI-qw5db 4 หลายเดือนก่อน

    WOW Well done ! no bias

  • @arcanum360YT
    @arcanum360YT 8 หลายเดือนก่อน

    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  8 หลายเดือนก่อน +1

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

    • @arcanum360YT
      @arcanum360YT 8 หลายเดือนก่อน

      Ok let me have a look
      @@beginnerscodezone

    • @NPC-to7ts
      @NPC-to7ts 5 หลายเดือนก่อน

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

  • @PG-fw3ll
    @PG-fw3ll 2 หลายเดือนก่อน

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

    • @beginnerscodezone
      @beginnerscodezone  2 หลายเดือนก่อน

      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.

  • @Sabeer-k-s
    @Sabeer-k-s 6 หลายเดือนก่อน

    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  6 หลายเดือนก่อน

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

  • @Pushpakumari-sl3cb
    @Pushpakumari-sl3cb 27 วันที่ผ่านมา

    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  26 วันที่ผ่านมา

      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 26 วันที่ผ่านมา

      @@beginnerscodezoneokay 👍 lemme give it a try

    • @Pushpakumari-sl3cb
      @Pushpakumari-sl3cb 24 วันที่ผ่านมา

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

  • @user-mp7tc8ph4w
    @user-mp7tc8ph4w 3 หลายเดือนก่อน +1

    Thank you (Y) so much

  • @Gopi_gin
    @Gopi_gin 11 หลายเดือนก่อน

    Clear explanation.....Thankyou 👏👏👏

  • @EEswar-li5ge
    @EEswar-li5ge หลายเดือนก่อน

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

    • @beginnerscodezone
      @beginnerscodezone  หลายเดือนก่อน

      private repo also works

    • @EEswar-li5ge
      @EEswar-li5ge หลายเดือนก่อน

      @@beginnerscodezone Thank you replying

  • @chaimakhoudri8272
    @chaimakhoudri8272 4 หลายเดือนก่อน

    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  4 หลายเดือนก่อน +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!

  • @user-vo5ce6kn5t
    @user-vo5ce6kn5t ปีที่แล้ว +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.

  • @onyemaechianthonyeze202
    @onyemaechianthonyeze202 2 หลายเดือนก่อน

    Thank you so much, it has really helped me 😄

  • @prajwalssreddy2910
    @prajwalssreddy2910 9 หลายเดือนก่อน +2

    how to upload 180mb file to github

    • @beginnerscodezone
      @beginnerscodezone  9 หลายเดือนก่อน +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 2 หลายเดือนก่อน

      th-cam.com/video/dpZQFTXSfjs/w-d-xo.htmlsi=IozY37G6yQuZ3at9

  • @user-fl9jv9ok9c
    @user-fl9jv9ok9c 6 หลายเดือนก่อน

    Thanks for sharing this. It helped me a lot.

  • @utkarshashinde9167
    @utkarshashinde9167 8 หลายเดือนก่อน

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

  • @sidindian1982
    @sidindian1982 9 หลายเดือนก่อน

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

    • @beginnerscodezone
      @beginnerscodezone  9 หลายเดือนก่อน

      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

  • @rishavsiwach9869
    @rishavsiwach9869 ปีที่แล้ว +1

    🤙🤙

  • @jonux13
    @jonux13 10 หลายเดือนก่อน

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

    • @beginnerscodezone
      @beginnerscodezone  10 หลายเดือนก่อน

      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.

  • @esotericwanderer6473
    @esotericwanderer6473 4 หลายเดือนก่อน

    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  4 หลายเดือนก่อน

      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 4 หลายเดือนก่อน

      @@beginnerscodezone got it, thank you