Comments (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:
-
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. -
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.
Alright I just merged the Gradio app! Let me know if you find anything wrong!
from agency.
Related Issues (20)
- add a tool to observe the messages flowing in the system HOT 3
- Help messages flow into different webui respectively HOT 2
- Decentralized `Space` type HOT 2
- Agent in the real world HOT 1
- API Improvements HOT 1
- Should we add an optional action parameter description? HOT 11
- How to extend action message ? HOT 8
- Browseable API site
- Performance tests
- Logging, debugging, and observation HOT 1
- Optional args HOT 3
- Broader python support
- React and Javascript support HOT 1
- Code execution (interpreter) support HOT 1
- Doubts about exchange parameters HOT 13
- How to send and receive messages interactively HOT 14
- Restore foreground agent support HOT 7
- Assumptions in __process HOT 13
- a message to announce its actions to other agents HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from agency.