cd4e6fc
c6a12dc
e779584
cd4e6fc
c6a12dc
cd4e6fc |
|
import gradio as gr
import subprocess
def run(command):
return subprocess.run(command, shell=True, text=True, capture_output=True)
iface = gr.Interface(fn=run, inputs="text", outputs="text")
iface.launch()
|