File size: 248 Bytes
f249a99
2f3eec9
f249a99
 
2f3eec9
 
f249a99
 
 
1
2
3
4
5
6
7
8
9
10
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()