xteam-userbot / app.py
xteamji's picture
Create app.py (#1)
5fad1af verified
raw
history blame contribute delete
310 Bytes
import os
import subprocess
import streamlit as st
# Set up the environment (if needed)
os.environ["PYTHONUNBUFFERED"] = "1"
# Run the Userbot module
def run_userbot():
subprocess.run(["python3", "-m", "xteam"])
if st.button("Start Userbot"):
run_userbot()
st.success("Userbot is running!")