From 7a6d47a1b87c3bff93a0c82c7684b0fc1946cbd2 Mon Sep 17 00:00:00 2001 From: Abubakar Abid Date: Sat, 30 Mar 2019 12:49:49 -0700 Subject: [PATCH] Update README.md --- README.md | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/README.md b/README.md index d83ed14d1e..1f7c5daa39 100644 --- a/README.md +++ b/README.md @@ -33,35 +33,35 @@ You can supply your own model instead of the pretrained model above, as well as * Textbox **Output interfaces**: -* Class +* Label * Textbox ## Screenshots Here are a few screenshots that show examples of gradio interfaces -#### MNIST Digit Recognition (Input: Sketchpad, Output: Class) +#### MNIST Digit Recognition (Input: Sketchpad, Output: Label) ```python -iface = gradio.Interface(input='sketchpad', output='class', model=model, model_type='keras') +iface = gradio.Interface(input='sketchpad', output='label', model=model, model_type='keras') iface.launch() ``` ![alt text](https://raw.githubusercontent.com/abidlabs/gradio/master/screenshots/mnist4.png) -#### Facial Emotion Detector (Input: Webcam, Output: Class) +#### Facial Emotion Detector (Input: Webcam, Output: Label) ```python -iface = gradio.Interface(input='webcam', output='class', model=model, model_type='keras') +iface = gradio.Interface(inputs='webcam', outputs='label', model=model, model_type='keras') iface.launch() ``` ![alt text](https://raw.githubusercontent.com/abidlabs/gradio/master/screenshots/webcam_happy.png) -#### Sentiment Analysis (Input: Textbox, Output: Class) +#### Sentiment Analysis (Input: Textbox, Output: Label) ```python -iface = gradio.Interface(input='textbox', output='class', model=model, model_type='keras') +iface = gradio.Interface(inputs='textbox', outputs='label', model=model, model_type='keras') iface.launch() ``` @@ -69,6 +69,6 @@ iface.launch() ### More Documentation -More detailed documentation can be found on the gradio website: www.gradio.app. +More detailed and up-to-date documentation can be found on the gradio website: www.gradio.app.