gradio path error for application private_GPT
- Estado: Closed
- Premio: $30
- Propuestas recibidas: 4
- Ganador: st3vry
Resumen del concurso
I have a gradio-app running inside a docker on my plesk-centOS server.
It behaves correctly here:
www.prinnit.de:8001
In order to use the app inside an html-page I told plesk to also access it here:
www.prinnit.de/api/
with the following instruction in plesk:
location /app/ {
proxy_pass http://localhost:8001/;
proxy_set_header Host $host;
proxy_set_header X-Real-IP $remote_addr;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
proxy_set_header X-Forwarded-Proto $scheme;
}
However, as you can see the /app/-way does not work because all referencres to js- and css-files are still pointing to root.
When I change "gr.mount_gradio_app(app, blocks, path=path)" to "gr.mount_gradio_app(app, blocks, path='/app/')" it doesnt even find the app any longer.
Deliverable = Help to solve, i.e. via chat
Habilidades recomendadas
Comentarios del empleador
“really competent and follows through. Also very good coms”
phbock, Germany.
Principales propuestas de este concurso
-
iamrushil Canada
-
yaserfdu306 Indonesia
Tablero de aclaración pública
Cómo comenzar con los concursos
-
Publica tu concurso Fácil y rápido
-
Consigue toneladas de propuestas De todo el mundo
-
Elige la mejor propuesta ¡Descarga fácilmente los archivos!