Spaces:
				
			
			
	
			
			
		Sleeping
		
	
	
	
			
			
	
	
	
	
		
		
		Sleeping
		
	Update app.py
Browse files
    	
        app.py
    CHANGED
    
    | @@ -157,6 +157,17 @@ def l_OFF_set(): | |
| 157 | 
             
                return "EC value set successfully"
         | 
| 158 |  | 
| 159 |  | 
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
| 160 | 
             
            @app.route("/api", methods=['GET'])
         | 
| 161 | 
             
            def handle_api():
         | 
| 162 | 
             
                response = api()
         | 
|  | |
| 157 | 
             
                return "EC value set successfully"
         | 
| 158 |  | 
| 159 |  | 
| 160 | 
            +
             | 
| 161 | 
            +
             | 
| 162 | 
            +
            @app.route('/t_Voz_eep_set')
         | 
| 163 | 
            +
            def t_Voz_eep_set():
         | 
| 164 | 
            +
                t_Voz_eep_set = request.args.get('value')
         | 
| 165 | 
            +
                globs.ec_t_Voz_set = t_Voz_eep_set
         | 
| 166 | 
            +
                globs.eep_set = 9
         | 
| 167 | 
            +
                return "EC value set successfully"
         | 
| 168 | 
            +
             | 
| 169 | 
            +
             | 
| 170 | 
            +
                
         | 
| 171 | 
             
            @app.route("/api", methods=['GET'])
         | 
| 172 | 
             
            def handle_api():
         | 
| 173 | 
             
                response = api()
         |