Spaces:
				
			
			
	
			
			
		Sleeping
		
	
	
	
			
			
	
	
	
	
		
		
		Sleeping
		
	
		Yaron Koresh
		
	commited on
		
		
					Update app.py
Browse files
    	
        app.py
    CHANGED
    
    | @@ -58,7 +58,7 @@ time=1 | |
| 58 | 
             
            width=384
         | 
| 59 | 
             
            height=768
         | 
| 60 | 
             
            step = 25
         | 
| 61 | 
            -
            accu= | 
| 62 |  | 
| 63 | 
             
            css="""
         | 
| 64 | 
             
            input, input::placeholder {
         | 
| @@ -190,10 +190,10 @@ def infer(pm): | |
| 190 | 
             
                    name = generate_random_string(12)+".png"
         | 
| 191 | 
             
                    neg = pm["n"]
         | 
| 192 |  | 
| 193 | 
            -
                    _do = ['beautiful', ' | 
| 194 | 
             
                    if p1 != "":
         | 
| 195 | 
            -
                        _do.append( | 
| 196 | 
            -
                    posi = " ".join(_do)
         | 
| 197 |  | 
| 198 | 
             
                    if pm["i"] == None:
         | 
| 199 | 
             
                        return None
         | 
|  | |
| 58 | 
             
            width=384
         | 
| 59 | 
             
            height=768
         | 
| 60 | 
             
            step = 25
         | 
| 61 | 
            +
            accu=10
         | 
| 62 |  | 
| 63 | 
             
            css="""
         | 
| 64 | 
             
            input, input::placeholder {
         | 
|  | |
| 190 | 
             
                    name = generate_random_string(12)+".png"
         | 
| 191 | 
             
                    neg = pm["n"]
         | 
| 192 |  | 
| 193 | 
            +
                    _do = ['beautiful', 'photographed', 'realistic', 'dynamic poze', 'deep field', 'reasonable coloring', 'rough texture', 'best quality', 'focused']
         | 
| 194 | 
             
                    if p1 != "":
         | 
| 195 | 
            +
                        _do.append(p1)
         | 
| 196 | 
            +
                    posi = ", ".join(_do)
         | 
| 197 |  | 
| 198 | 
             
                    if pm["i"] == None:
         | 
| 199 | 
             
                        return None
         | 
