GithubHelp home page GithubHelp logo

happy-jihye / streamlit-tutorial Goto Github PK

View Code? Open in Web Editor NEW
39.0 2.0 17.0 184.54 MB

Streamlit Tutorial (ex: stock price dashboard, cartoon-stylegan, vqgan-clip, stylemixing, styleclip, sefa)

Python 89.34% C++ 1.61% Cuda 8.97% Dockerfile 0.08%
streamlit streamlit-tutorial streamlit-application streamlit-webapp streamlit-dashboard styleclip stylegan2 cartoon-stylegan sefa stylemixing

streamlit-tutorial's Introduction

Streamlit Tutorials

Install

pip install streamlit

Run

cd [directory]
streamlit run app.py --server.address 0.0.0.0 --server.port [your port]
# http://0.0.0.0:[your port]

Main App

# run
streamlit run app.py --server.address 0.0.0.0 --server.port [your port]

๐Ÿ’ธ Stock Price Dashboard โœจ

# install
pip install yfinance fbprophet plotly

# run
cd stock-price-dashboard
streamlit run app.py --server.address 0.0.0.0 --server.port [your port]

๐Ÿ™ƒ Cartoon StyleGAN โœจ

# install
pip install bokeh ftfy regex tqdm gdown
# for styleclip
pip install git+https://github.com/openai/CLIP.git

# run
cd cartoon-stylegan
streamlit run app.py --server.address 0.0.0.0 --server.port [your port]

๐Ÿ–ผ๏ธ VQGAN-CLIP โœจ

# install python packages
pip install ftfy regex tqdm omegaconf pytorch-lightning IPython kornia imageio imageio-ffmpeg einops torch_optimizer

# clone other repositories
git clone 'https://github.com/openai/CLIP'
git clone 'https://github.com/CompVis/taming-transformers'

# download checkpoints
mkdir checkpoints
curl -L -o checkpoints/vqgan_imagenet_f16_16384.yaml -C - 'https://heibox.uni-heidelberg.de/d/a7530b09fed84f80a887/files/?p=%2Fconfigs%2Fmodel.yaml&dl=1' #ImageNet 16384
curl -L -o checkpoints/vqgan_imagenet_f16_16384.ckpt -C - 'https://heibox.uni-heidelberg.de/d/a7530b09fed84f80a887/files/?p=%2Fckpts%2Flast.ckpt&dl=1' #ImageNet 16384

# run
cd VQGAN-CLIP
streamlit run app.py --server.address 0.0.0.0 --server.port [your port]

streamlit-tutorial's People

Contributors

happy-jihye avatar hokim98 avatar kuruvasubhashini avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

streamlit-tutorial's Issues

Not working

Noob here, so forgive me. I followed the instructions but when running streamlit it only shows me example 1,2,3 and does not show me the interface to interact or run any of the cartoonstylegan functions.

File "C:\Users\chlyw\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.10_qbz5n2kfra8p0\LocalCache\local-packages\Python310\site-packages\streamlit\runtime\scriptrunner\script_runner.py", line 556, in _run_script
exec(code, module.dict)
File "C:\Users\chlyw\Desktop\Cartoon-StyleGAN\app.py", line 5, in
import utils
File "C:\Users\chlyw\Desktop\Cartoon-StyleGAN\utils.py", line 5, in
import imageio

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.