Giter VIP home page Giter VIP logo

Comments (3)

nyimbi avatar nyimbi commented on May 30, 2024

wget https://gradio.s3-us-west-2.amazonaws.com/4.28.3/gradio.js
Results in:
wget: unable to resolve host address ‘gradio.s3-west-2.amazonaws.com’

from gradio.

flacomalone avatar flacomalone commented on May 30, 2024

I dont know if it is related to this issue, but I have the same problem in my own server while embedding the grad app. In my setup, the gradio app is running on its own server under (using a self signed certuificate for SSL). The code is basically the same. I found out that the issue disappeared when I accessed the original gradio app server at least once and then I accessed again the server hosting the embedded gradio app. It worked !

I decided to remove the SSL in the original gradio app, but now this trick doesn't work either...

from gradio.

peeter2 avatar peeter2 commented on May 30, 2024

My gradio app is mounted to this url: http://127.0.0.1:7860/gradio

And I am trying to embed it like this

<script
	type="module"
	src="https://gradio.s3-us-west-2.amazonaws.com/4.19.1/gradio.js"
></script>
<gradio-app src="http://127.0.0.1:7860/gradio"></gradio-app>

But I am getting errors on browser console:

image

Looks like it is trying to access the config in the wrong url: http://127.0.0.1:7860/config
The correct url is http://127.0.0.1:7860/gradio/config

How to resolve this issue?

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.