2573c14 46693fb a41986f
1
2
3
4
5
6
7
import subprocess import gradio as gr def n(hi): x = hi +" hi!" return x,subprocess.run("python3 bot.py",shell=True) gr.Interface(fn=n, inputs="text",outputs=["text","text"],live=True).launch(debug=True)