mirror of
https://github.com/gradio-app/gradio.git
synced 2024-11-27 01:40:20 +08:00
Add a missing line to getting started (#816)
Former-commit-id: 96f203108b
This commit is contained in:
parent
ab67ce3dee
commit
81e271ca22
@ -37,6 +37,7 @@ With these three arguments, we can quickly create interfaces and `launch()` th
|
|||||||
Let's say we want to customize the input text field - for example, we wanted it to be larger and have a text hint. If we use the actual input class for `Textbox` instead of using the string shortcut, we have access to much more customizability. To see a list of all the components we support and how you can customize them, check out the [Docs](https://gradio.app/docs).
|
Let's say we want to customize the input text field - for example, we wanted it to be larger and have a text hint. If we use the actual input class for `Textbox` instead of using the string shortcut, we have access to much more customizability. To see a list of all the components we support and how you can customize them, check out the [Docs](https://gradio.app/docs).
|
||||||
|
|
||||||
**Sidenote**: `Interface.launch()` method returns 3 values:
|
**Sidenote**: `Interface.launch()` method returns 3 values:
|
||||||
|
|
||||||
1. `app`, which is the FastAPI application that is powering the Gradio demo
|
1. `app`, which is the FastAPI application that is powering the Gradio demo
|
||||||
2. `local_url`, which is the local address of the server
|
2. `local_url`, which is the local address of the server
|
||||||
3. `share_url`, which is the public address for this demo (it is generated if `share=True` more [on this later](https://gradio.app/getting_started/#sharing-interfaces-publicly))
|
3. `share_url`, which is the public address for this demo (it is generated if `share=True` more [on this later](https://gradio.app/getting_started/#sharing-interfaces-publicly))
|
||||||
|
Loading…
Reference in New Issue
Block a user