> ## Documentation Index
> Fetch the complete documentation index at: https://docs.domino.ai/llms.txt
> Use this file to discover all available pages before exploring further.

# Use Gradio in a Jupyter workspace

#### **Version/Environment:**

This applies to all versions of Domino.

## **Issue:**

[Gradio's "Hello, World" demo](https://pypi.org/project/gradio/) fails to render in a Jupyter workspace and/or a browser window.

## **Root Cause:**

There is a bug in the Gradio package which strips the trailing slash from URLs being loaded in-line, i.e. in the notebook.

## **Resolution:**

Download the attached example Jupyter notebook to get started using Gradio in Domino. This runs on the current Domino Standard Environment (DSE) and DSE with GPU images. The app renders both in the Jupyter workspace and in a browser tab. In this line, replace the URL demo2.dominodatalab.com with your deployment's URL (without https\://):

* host = os.environ.get('GRADIO\_PROXY\_HOST') or "demo2.dominodatalab.com"

Please note that you'll need access to jupyter-server-proxy >=3.2.2 and access to the Pypi repositories to download the Gradio packages.

* To check the version in a Jupyter Terminal, run pip list | grep -i jupyter-server-proxy

Please note "show\_api=False" is not supported in newer version of Gradio 6.x, you will need to remove it from launch,

```
# Launch gradio app in the Domino workspace (behind proxy)
        interface.launch(root_path=application_path, server_name=server, server_port=port, quiet=True, inline=False, share=False)
```

### References/Internal Records:

* PTE-666


## Related topics

- [How-to guides](/knowledge-base/how-to-guides-overview.md)
- [Use TensorBoard in Jupyter Workspaces](/cloud/platform-capabilities/core-concepts/compute-environments/work-with-pluggable-workspaces/use-tensorboard-in-jupyter-workspaces.md)
- [Use PySpark in Jupyter Workspaces](/cloud/platform-capabilities/features/compute-clusters-hpc/spark/hadoop-and-spark/pyspark-in-jupyter-workspaces.md)
- [Use Workspaces](/cloud/platform-capabilities/core-concepts/workspaces/index.md)
