diff --git a/gradio.md b/gradio.md
index e928f2e397d147ebecb38b4f0b4049312e13596b..e003b864c65a9af29fba1ea35ebe8eb1fd1d30b8 100644
--- a/gradio.md
+++ b/gradio.md
@@ -95,3 +95,11 @@ demo.launch(share=True, height=800)
 ```
 
 This will use gradio's service to make a public link tunneling to the gradio server.
+
+## Environment Variables
+
+If you need to set such a parameter, but the script you run is not your code, you can still set these parameters via [environment variables](https://www.gradio.app/guides/environment-variables). For example to start `llamafactory`'s webui, which is built using gradio, with changed parameters:
+
+``` bash
+GRADIO_SERVER_NAME="0.0.0.0" llamafactory-cli webui
+```