ryomo/streamlit-gradio-comparison

This project demonstrates and compares the implementation of identical chat application features using both Streamlit and Gradio. Both implementations create a simple LLM chat interface that runs a local Japanese LLM "Sarashina2.2-3b-instruct" for text generation.

Python

0

4 commits

updated May 28, 2025

See the code

README

Streamlit and Gradio Comparison

What is this?

This project demonstrates and compares the implementation of identical chat application features using both Streamlit and Gradio.

Both implementations create a simple LLM chat interface that runs a local Japanese LLM "Sarashina2.2-3b-instruct" for text generation.

Requirements

  • NVIDIA GPU with 8GB VRAM or higher
  • CUDA
  • uv

Install

uv sync --frozen

Run

Streamlit

uv run streamlit run run_streamlit.py --server.fileWatcherType none

Gradio

uv run run_gradio.py
gradio
llm
sarashina
streamlit

ryomo/streamlit-gradio-comparison

This project demonstrates and compares the implementation of identical chat application features using both Streamlit and Gradio. Both implementations create a simple LLM chat interface that runs a local Japanese LLM "Sarashina2.2-3b-instruct" for text generation.

Python

0

4 commits

updated May 28, 2025

See the code

README

Streamlit and Gradio Comparison

What is this?

This project demonstrates and compares the implementation of identical chat application features using both Streamlit and Gradio.

Both implementations create a simple LLM chat interface that runs a local Japanese LLM "Sarashina2.2-3b-instruct" for text generation.

Requirements

  • NVIDIA GPU with 8GB VRAM or higher
  • CUDA
  • uv

Install

uv sync --frozen

Run

Streamlit

uv run streamlit run run_streamlit.py --server.fileWatcherType none

Gradio

uv run run_gradio.py
gradio
llm
sarashina
streamlit