Spaces:
				
			
			
	
			
			
		Runtime error
		
	
	
	
			
			
	
	
	
	
		
		
		Runtime error
		
	fix: convert the generator to a string
Browse files
    	
        app.py
    CHANGED
    
    | @@ -140,7 +140,7 @@ chat_interface = gr.ChatInterface( | |
| 140 | 
             
                ) 
         | 
| 141 |  | 
| 142 | 
             
            def evolve_text(x):
         | 
| 143 | 
            -
                return  | 
| 144 | 
             
                    x, "", "<|endoftext|>", 
         | 
| 145 | 
             
                    temperature=0.9, max_new_tokens=10, 
         | 
| 146 | 
             
                    top_p=0.95, repetition_penalty=1.2, 
         | 
|  | |
| 140 | 
             
                ) 
         | 
| 141 |  | 
| 142 | 
             
            def evolve_text(x):
         | 
| 143 | 
            +
                return "".join(x for x in generate(
         | 
| 144 | 
             
                    x, "", "<|endoftext|>", 
         | 
| 145 | 
             
                    temperature=0.9, max_new_tokens=10, 
         | 
| 146 | 
             
                    top_p=0.95, repetition_penalty=1.2, 
         | 
 
			
