Fu-Chuen's picture
Upload app.py
28abb5c
raw
history blame contribute delete
340 Bytes
# -*- coding: utf-8 -*-
"""app.ipynb
Automatically generated by Colaboratory.
Original file is located at
https://colab.research.google.com/drive/1GYBsXX8SKS-EShS0Ipn0GCdqYKPJUiyp
"""
import gradio as gr
def greet(name):
return "Hello " + name + "!!"
iface = gr.Interface(fn=greet, inputs="text", outputs="text")
iface.launch()