Giter Club home page Giter Club logo

Comments (2)

operand avatar operand commented on May 24, 2024 2

Okay here's what I'm thinking. I've decided to go with Gradio for now.

I did consider some other options. I'm new to these python data driven web frameworks. Here's a comparison table (AI created) that lists the main options I looked at:

Framework Ease of Use Customizability Community Support Popularity Best Suited For
Streamlit High Limited Large High Data dashboards, quick prototyping, data science, and machine learning apps
Gradio High Limited Growing High Machine learning model UIs, handling different data types (images, audio, video)
Panel Moderate High Growing Moderate Data visualization, works with various plotting libraries, geospatial data
Dash Low High Large High Data dashboards, analytical web applications, custom interactive data visualizations

It came down to Streamlit vs Gradio. The main reason being that they both support quick and easy prototyping.

Quick prototyping makes a lot of sense for supporting development of the library. I was hoping for the framework to be more capable of custom applications, but there needs to be a tradeoff. So customizability will have some limits but we always have options like adding new integrations or using the Flask/React app.

What tipped me from Streamlit to Gradio were mostly two things:

  1. Oobabooga TGWUI
    I really want to build an integration with it. I think it would be great for both projects. Users could hook it up to interface with a network of agents connected through agency using the same interface that they use for training, etc. The integration could also become a source of feedback for development of the library.

  2. Architecture concerns with Streamlit
    I have some reservations about the architecture of Streamlit. Gradio is more straightforward in that it uses regular http requests with callback functions. I'm assuming it will be easier to reason about if I need to debug something.

One area that I felt Streamlit wins is in hosting options but it's not enough to change my mind. It's easy enough to host a Gradio app if necessary.

Given that I'm settled on Gradio, I'll be jumping into coding. An initial version may not take long but bear with me.

Please let me know if there are any thoughts or concerns about this choice.

from agency.

operand avatar operand commented on May 24, 2024

Alright I just merged the Gradio app! Let me know if you find anything wrong!

#90

from agency.

Related Issues (20)

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.