test / app.py
jphan32's picture
app.py
2f3eec9
raw
history blame contribute delete
248 Bytes
import gradio as gr
import subprocess
def greet(name):
version = str(subprocess.check_output(['sqlite3', '--version']))
return "Hello " + name + "!! " + version
iface = gr.Interface(fn=greet, inputs="text", outputs="text")
iface.launch()