tastelikefeet commited on
Commit
f37688e
1 Parent(s): 6b69917

Create app.py

Browse files
Files changed (1) hide show
  1. app.py +10 -0
app.py ADDED
@@ -0,0 +1,10 @@
 
 
 
 
 
 
 
 
 
 
 
1
+ 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 huggingface_hub trl accelerate peft transformers -U')
6
+
7
+ from swift.ui.app import run_ui
8
+
9
+ if __name__ == '__main__':
10
+ run_ui()