Fu-Chuen commited on
Commit
28abb5c
·
1 Parent(s): ac760e9

Upload app.py

Browse files
Files changed (1) hide show
  1. app.py +16 -0
app.py ADDED
@@ -0,0 +1,16 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # -*- coding: utf-8 -*-
2
+ """app.ipynb
3
+
4
+ Automatically generated by Colaboratory.
5
+
6
+ Original file is located at
7
+ https://colab.research.google.com/drive/1GYBsXX8SKS-EShS0Ipn0GCdqYKPJUiyp
8
+ """
9
+
10
+ import gradio as gr
11
+
12
+ def greet(name):
13
+ return "Hello " + name + "!!"
14
+
15
+ iface = gr.Interface(fn=greet, inputs="text", outputs="text")
16
+ iface.launch()