Spaces:
				
			
			
	
			
			
		Runtime error
		
	
	
	
			
			
	
	
	
	
		
		
		Runtime error
		
	
		mrhblfx
		
	commited on
		
		
					Commit 
							
							·
						
						5e602ca
	
1
								Parent(s):
							
							c6610b2
								
Update crazy_functional.py
Browse files- crazy_functional.py +9 -0
 
    	
        crazy_functional.py
    CHANGED
    
    | 
         @@ -162,6 +162,15 @@ def get_crazy_functions(): 
     | 
|
| 162 | 
         | 
| 163 | 
         
             
                except Exception as err:
         
     | 
| 164 | 
         
             
                    print(f'[下载arxiv论文并翻译摘要] 插件导入失败 {str(err)}')
         
     | 
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 165 | 
         | 
| 166 | 
         
             
                ###################### 第n组插件 ###########################
         
     | 
| 167 | 
         
             
                return function_plugins
         
     | 
| 
         | 
|
| 162 | 
         | 
| 163 | 
         
             
                except Exception as err:
         
     | 
| 164 | 
         
             
                    print(f'[下载arxiv论文并翻译摘要] 插件导入失败 {str(err)}')
         
     | 
| 165 | 
         
            +
                    
         
     | 
| 166 | 
         
            +
                from crazy_functions.解析项目源代码 import 解析一个Lua项目
         
     | 
| 167 | 
         
            +
                function_plugins.update({
         
     | 
| 168 | 
         
            +
                    "解析整个Lua项目": {
         
     | 
| 169 | 
         
            +
                        "Color": "stop",    # 按钮颜色
         
     | 
| 170 | 
         
            +
                        "AsButton": False,  # 加入下拉菜单中
         
     | 
| 171 | 
         
            +
                        "Function": HotReload(解析一个Lua项目)
         
     | 
| 172 | 
         
            +
                    },
         
     | 
| 173 | 
         
            +
                })        
         
     | 
| 174 | 
         | 
| 175 | 
         
             
                ###################### 第n组插件 ###########################
         
     | 
| 176 | 
         
             
                return function_plugins
         
     |