Giter VIP home page Giter VIP logo

Comments (11)

abidlabs avatar abidlabs commented on May 14, 2024 1

Yes, please take a look here: https://www.gradio.app/sharing_your_app/#embedding-hosted-spaces

from gradio.

aliabid94 avatar aliabid94 commented on May 14, 2024

For now, the best way is to embed an iframe. Working on making this seamless as it is on the main site.

from gradio.

aliabd avatar aliabd commented on May 14, 2024

Let's get some documentation for this when it's ready @aliabid94 :)

from gradio.

codeghees avatar codeghees commented on May 14, 2024

Yes please!
What are the limitations of an iframe though?

from gradio.

aliabid94 avatar aliabid94 commented on May 14, 2024

You should be able to do everything normally with an iframe, the main shortcoming of an iframe is that you'll have to set the width and height manually, and it wont resize and the inputs and outputs may change

from gradio.

maxhchen avatar maxhchen commented on May 14, 2024

Have there been any updates to this?

from gradio.

wj-Mcat avatar wj-Mcat commented on May 14, 2024

Have there been any updates to this?

from gradio.

Demi1024 avatar Demi1024 commented on May 14, 2024

Have there been any updates to this? How to get the height of iframe content and avoid scrollbars?
Looking forward to the answer, thanks a lot.

from gradio.

abidlabs avatar abidlabs commented on May 14, 2024

Did you try the suggestions here: https://gradio.app/sharing_your_app/#embedding-hosted-spaces

from gradio.

Wuffle1125 avatar Wuffle1125 commented on May 14, 2024

I am using an iframe to embed my gradio app, but how can I make communication between my parent app and gradio app?
https://stackoverflow.com/questions/9153445/how-to-communicate-between-iframe-and-the-parent-site
From this link, I tried to send message from parent website to this iframe (gradio app)
But I don't see any possible way to get that message in gradio.

from gradio.

shimaaahmedd avatar shimaaahmedd commented on May 14, 2024

I need to embed private hugging face to iframe

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.