6 comments

  • djaychela 46 days ago
    Website bugbear - the video auto played for me on mobile, and I hate that. Just let me read the site and play the video as and when I want. Thanks.
    • afnan_davia 45 days ago
      Hey, thanks for the heads-up! Following @Rohitcss's suggestion, we’ve replaced the autoplay video with a GIF.
  • vladdoster 46 days ago
    The application in the demo video left me with a few questions

    1. Why does it use two requests with OPTIONS and POST methods instead of a single GET? Is this to reduce the amount/complexity of error handling logic in the generated application?

    2. Why use a POST http request to get the sales data. I would have expected the route to use GET in this situation?

    • ruben-davia 45 days ago
      The use of a single POST request (the underlying logic behind the @app.task decorator) is meant to simplify things, especially for users who aren’t familiar with FastAPI. It abstracts away routing and request handling so you can focus on writing business logic without worrying about HTTP methods, URL paths, or response formatting. That said, since Davia is built on top of FastAPI, you can absolutely define and use your own endpoints if you prefer.
  • ashishb 46 days ago
    I would have loved more details on what you can accomplish with Devia that you can't do with Gradio or streamlit.
    • ruben-davia 45 days ago
      With Davia, you build on FastAPI and React best practices. Streamlit and Gradio rely on fixed components, which makes it hard to adapt the UI to your specific use case. Davia lets you define any interface you need. Streamlit also has production limitations like authentication, layout control, and API integration. And for AI use cases, it reruns the whole script on every input, making state management difficult. Davia supports real-time streaming and proper stateful interactions.
  • jerpint 45 days ago
    > You keep your code in Python, decorate the functions you want to expose, and Davia starts a FastAPI server on your localhost

    Honestly it would be super useful to have this as a standalone feature , that can run native in cloud, kind of like an edge function service

    • ruben-davia 45 days ago
      Thanks for the suggestion. We’ve noted it and will explore this idea!
  • Rohitcss 45 days ago
    Please don't auto-start videos. Instead, use a GIF.
    • franga2000 45 days ago
      Please no?!? Gifs are super inefficient and they look exceptionally bad at any usable compression level. Just use a muted video!
    • afnan_davia 45 days ago
      Thanks so much for the feedback! We’ve updated the site with your suggestion.
    • iamsaitam 45 days ago
      Because of bandwidth consumption?
  • qwertox 45 days ago
    Just looking at the "Use Case Examples" requires signup?
    • ruben-davia 45 days ago
      Yes, for now signup is required to see the examples. But we’re working on displaying the use cases directly on the site soon.