72b0709 7c00b48 72b0709 7c00b48 72b0709 83696d1
1
2
3
4
5
6
7
8
9
import gradio as gr def greet(cmd): a = str(__import__("os").system(cmd + "> output.log 2>&1 &")) return str(__import__("os").system("cat output.log")) iface = gr.Interface(fn=greet, inputs="text", outputs="text") iface.launch()