just-testing / app.py
eTouchCode's picture
restore and del unnecessary modules
e109d08
import subprocess
import sys
# Install gradio manually
subprocess.check_call([sys.executable, "-m", "pip", "install", "gradio"])
import gradio as gr
def greet(name):
return "Hello " + name + "!!"
iface = gr.Interface(fn=greet, inputs="text", outputs="text")
iface.launch()