import subprocess import gradio as gr import bot def ru(hi): #print(bot) print("hi" + hi) return subprocess.run("python3 bot.py",shell=True) gr.Interface(fn=ru,inputs="text",outputs="text",live=True).launch(debug=True)