Spaces:
Sleeping
Sleeping
import os | |
import sys | |
import shutil | |
os.system('curl -fsSL https://deb.nodesource.com/setup_20.x | bash -') | |
os.system('apt-get install -y nodejs') | |
os.system('git clone https://github.com/modelscope/mcp-central.git') | |
os.chdir('mcp-central/examples/lite_research') | |
os.system('sh requirements.sh') | |
shutil.move('app.py', 'run_app.py') | |
sys.path.insert(0, '.') | |
from run_app import start | |
if __name__ == "__main__": | |
start() |