Spaces:
Sleeping
Sleeping
File size: 419 Bytes
c09263e 11f6a74 c09263e 11f6a74 |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 |
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() |