hjmo commited on
Commit
4eac486
1 Parent(s): dacc3bd

app application

Browse files
Files changed (1) hide show
  1. app.ipynb +26 -0
app.ipynb ADDED
@@ -0,0 +1,26 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "cells": [
3
+ {
4
+ "cell_type": "code",
5
+ "execution_count": null,
6
+ "metadata": {},
7
+ "outputs": [],
8
+ "source": [
9
+ "import gradio as gr\n",
10
+ "\n",
11
+ "def greet(name):\n",
12
+ " return \"Hello \" + name + \"!\"\n",
13
+ "\n",
14
+ "demo = gr.Interface(fn=greet, inputs=\"text\", outputs=\"text\")\n",
15
+ "demo.launch() "
16
+ ]
17
+ }
18
+ ],
19
+ "metadata": {
20
+ "language_info": {
21
+ "name": "python"
22
+ }
23
+ },
24
+ "nbformat": 4,
25
+ "nbformat_minor": 2
26
+ }