diff --git a/GUI_Tutorial.ipynb b/GUI_Tutorial.ipynb index fa8b1c55a2b2113e4a382c779c0b516a4180b3fb..d9d9d3ce58278fe17c5ecdee7489366e2b3b1359 100644 --- a/GUI_Tutorial.ipynb +++ b/GUI_Tutorial.ipynb @@ -2,7 +2,6 @@ "cells": [ { "cell_type": "markdown", - "id": "7227f3fa", "metadata": {}, "source": [ "## Gradio: How you can build a GUI within a Jupyter Notebook\n", @@ -12,7 +11,17 @@ }, { "cell_type": "markdown", - "id": "ba81c68d", + "metadata": {}, + "source": [ + "## GUI Background\n", + "A graphical user interface (GUI) is an interface through which a user interacts with electronic devices such as computers and smartphones through the use of icons, menus and other visual indicators or representations (graphics). GUIs graphically display information and related user controls, unlike text-based interfaces, where data and commands are strictly in text. GUI representations are manipulated by a pointing device such as a mouse, trackball, stylus, or by a finger on a touch screen.\n", + "\n", + "Source: \n", + "https://www.techopedia.com/definition/5435/graphical-user-interface-gui" + ] + }, + { + "cell_type": "markdown", "metadata": {}, "source": [ "## Getting Started\n", @@ -23,7 +32,6 @@ { "cell_type": "code", "execution_count": 7, - "id": "cdfdbb3e", "metadata": {}, "outputs": [ { @@ -41,7 +49,6 @@ { "cell_type": "code", "execution_count": 3, - "id": "8f5edb3b", "metadata": {}, "outputs": [], "source": [ @@ -50,7 +57,6 @@ }, { "cell_type": "markdown", - "id": "f76c9232", "metadata": {}, "source": [ "Next, import the library as follows:" @@ -59,7 +65,6 @@ { "cell_type": "code", "execution_count": 1, - "id": "227461d8", "metadata": { "scrolled": false }, @@ -70,7 +75,6 @@ }, { "cell_type": "markdown", - "id": "c3d4eb50", "metadata": {}, "source": [ "Gradio can be used with a wide range of media-text, pictures, video, and sound. It is most useful for demonstrating machine learning algorithms.\n", @@ -81,7 +85,6 @@ { "cell_type": "code", "execution_count": 2, - "id": "92c83d6b", "metadata": { "scrolled": true }, @@ -139,7 +142,6 @@ }, { "cell_type": "markdown", - "id": "8469e7e7", "metadata": {}, "source": [ "### The Interface\n", @@ -154,7 +156,6 @@ }, { "cell_type": "markdown", - "id": "46e5071f", "metadata": {}, "source": [ "### Uses of Gradio" @@ -162,7 +163,6 @@ }, { "cell_type": "markdown", - "id": "94a5d6f2", "metadata": {}, "source": [ "Gradio can load in data, similar to pandas frames, by using the command `gradio.inputs.Dataframe(data_name)`. It can only take in strings, numbers, bools, and dates as data types. Gradio does not contain a library of datasets, so data must be input by the user. It can also work with time series, images, audio, video, and generic file uploads.\n", @@ -185,7 +185,6 @@ }, { "cell_type": "markdown", - "id": "17bf993f", "metadata": {}, "source": [ "An example of a question could be, what is the conclusion of the sentence.....\n", @@ -199,7 +198,6 @@ }, { "cell_type": "markdown", - "id": "1196a4c1", "metadata": {}, "source": [ "How this data or tool could be used in some of the team projects (maybe not your own)\n", @@ -216,7 +214,6 @@ }, { "cell_type": "markdown", - "id": "500e9ab6", "metadata": {}, "source": [ "Sources:<br>\n", @@ -228,7 +225,7 @@ ], "metadata": { "kernelspec": { - "display_name": "Python 3 (ipykernel)", + "display_name": "Python 3", "language": "python", "name": "python3" }, @@ -242,7 +239,7 @@ "name": "python", "nbconvert_exporter": "python", "pygments_lexer": "ipython3", - "version": "3.9.7" + "version": "3.8.3" } }, "nbformat": 4,