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() | |
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() | |