tastelikefeet commited on
Commit
23402df
1 Parent(s): 5cbb5ac

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +6 -3
app.py CHANGED
@@ -2,10 +2,13 @@ import os
2
 
3
  os.system('git clone https://github.com/modelscope/swift.git')
4
  os.system('pip install ./swift["llm"]')
5
- os.system('pip install llmuses==0.3.0')
6
  os.system('pip install huggingface_hub trl accelerate peft transformers -U')
 
 
 
7
 
8
- from swift.ui.app import run_ui
9
 
10
  if __name__ == '__main__':
11
- run_ui()
 
2
 
3
  os.system('git clone https://github.com/modelscope/swift.git')
4
  os.system('pip install ./swift["llm"]')
5
+ os.system('pip install evalscope[all]>=0.5.2')
6
  os.system('pip install huggingface_hub trl accelerate peft transformers -U')
7
+ os.system('rm -rf /mnt/workspace/.cache/modelscope/hub/*')
8
+ os.system(f'rm -rf {os.path.expanduser("~")}/.cache/modelscope/hub/*')
9
+ os.system('pip install tf-keras')
10
 
11
+ from swift.ui.app import webui_main
12
 
13
  if __name__ == '__main__':
14
+ webui_main()