update demos and readme

This commit is contained in:
Ali Abid 2020-10-26 15:35:38 -07:00
parent f694ebac3a
commit cdceb2f7fb
2 changed files with 4 additions and 0 deletions

View File

@ -28,6 +28,7 @@ pip install gradio
````
2. Run the code below as a Python script or in a Python notebook (or in a [colab notebook](https://colab.research.google.com/drive/18ODkJvyxHutTN0P5APWyGFO_xwNcgHDZ?usp=sharing)).
````python
import gradio as gr
@ -39,6 +40,7 @@ iface.launch()
````
3. The interface below will appear automatically within the Python notebook, or pop in a browser on [http://localhost:7860](http://localhost:7860/) if running from a script.
![hello_world interface](demo/screenshots/hello_world/1.gif)
### The Interface

View File

@ -28,9 +28,11 @@ pip install gradio
````
2. Run the code below as a Python script or in a Python notebook (or in a [colab notebook](https://colab.research.google.com/drive/18ODkJvyxHutTN0P5APWyGFO_xwNcgHDZ?usp=sharing)).
$code_hello_world
3. The interface below will appear automatically within the Python notebook, or pop in a browser on [http://localhost:7860](http://localhost:7860/) if running from a script.
$demo_hello_world
### The Interface