Zevin2023 commited on
Commit
5fedea4
·
verified ·
1 Parent(s): 44b7eaf

Create run.py

Browse files
Files changed (1) hide show
  1. run.py +11 -0
run.py ADDED
@@ -0,0 +1,11 @@
 
 
 
 
 
 
 
 
 
 
 
 
1
+ if __name__ == '__main__':
2
+ import argparse
3
+ from demo.UI import Main_ui
4
+
5
+ parser = argparse.ArgumentParser(description='SEAGULL', formatter_class=argparse.RawTextHelpFormatter)
6
+ parser.add_argument('--model', help='path to seagull model', default='Zevin2023/SEAGULL-7B')
7
+ parser.add_argument('--example_path', help='path to examples', default='./imgs/Examples')
8
+ args = parser.parse_args()
9
+
10
+ demo = Main_ui(args).load_demo()
11
+ demo.launch()