Giter VIP home page Giter VIP logo

Comments (4)

freddyaboulton avatar freddyaboulton commented on May 30, 2024 2

Hi @Hellisotherpeople ! You can pass gr.Request to your function. Please see the docs here: https://www.gradio.app/docs/gradio/request#request-header .

Gonna close for now.

from gradio.

Hellisotherpeople avatar Hellisotherpeople commented on May 30, 2024

@freddyaboulton I'm aware of the existence of gr.Request, but I do not know how to use it in the context of the exact code that I've linked here.

Beyond that, I am extremely frustrated when I am linked to documentation with almost no other assistance on my question. I have seen this documentation that you have linked but it's not good enough alone, and I am still stuck

Please show me a specific example of using gr.Request in the context of the code I specified to get access to the request.session object.

from gradio.

Hellisotherpeople avatar Hellisotherpeople commented on May 30, 2024

Please reopen this issue or show me a real code example in the context of the code I linked.

from gradio.

Hellisotherpeople avatar Hellisotherpeople commented on May 30, 2024

BTW, I'm pretty desperate to get a proper, working solution for this. I'm willing to pay 200USD for a working solution.

I tried to get folks on the discord to help, but no one there is helpful.

from gradio.

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.