Spaces:
				
			
			
	
			
			
					
		Running
		
	
	
	
			
			
	
	
	
	
		
		
					
		Running
		
	Update app.py
#121
by
						
Dooratre
	
							
						- opened
							
					
    	
        app.py
    CHANGED
    
    | @@ -58,7 +58,8 @@ def get_tryon_result(model_name, garment1, garment2, seed=1234): | |
| 58 | 
             
                else:
         | 
| 59 | 
             
                    encoded_garment2 = ''
         | 
| 60 |  | 
| 61 | 
            -
                 | 
|  | |
| 62 | 
             
                headers = {'Content-Type': 'application/json'}
         | 
| 63 | 
             
                seed = random.randint(0, 1222222222)
         | 
| 64 | 
             
                data = {
         | 
|  | |
| 58 | 
             
                else:
         | 
| 59 | 
             
                    encoded_garment2 = ''
         | 
| 60 |  | 
| 61 | 
            +
                host_ip = socket.gethostbyname(socket.gethostname())
         | 
| 62 | 
            +
                url = f"https://{host_ip}:8443" # Replace 'your_port_here' with the appropriate port number
         | 
| 63 | 
             
                headers = {'Content-Type': 'application/json'}
         | 
| 64 | 
             
                seed = random.randint(0, 1222222222)
         | 
| 65 | 
             
                data = {
         | 
