Fu-Chuen/Machine_Learning
0
1# -*- coding: utf-8 -*-2"""app.ipynb3 4Automatically generated by Colaboratory.5 6Original file is located at7 https://colab.research.google.com/drive/1GYBsXX8SKS-EShS0Ipn0GCdqYKPJUiyp8"""9 10import gradio as gr11 12def greet(name):13 return "Hello " + name + "!!"14 15iface = gr.Interface(fn=greet, inputs="text", outputs="text")16iface.launch()