Former-commit-id: 3f06ba69aedee4c5b7e4e8eed24d23a4a8a7d10a
Former-commit-id: 76ca62a447bdfbde99b0dcb704a0bfb756792468
This commit is contained in:
Ömer Faruk Özdemir 2022-03-14 19:27:51 +03:00
commit 5d46f2014b

View File

@ -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).
**Sidenote**: `Interface.launch()` method returns 3 values:
1. `app`, which is the FastAPI application that is powering the Gradio demo
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))