Spaces:
				
			
			
	
			
			
		Runtime error
		
	
	
	
			
			
	
	
	
	
		
		
		Runtime error
		
	Update app.py
Browse files
    	
        app.py
    CHANGED
    
    | @@ -41,7 +41,7 @@ def chat_inf(system_prompt,prompt,history): | |
| 41 | 
             
                for response in stream:
         | 
| 42 | 
             
                    output += response.token.text
         | 
| 43 | 
             
                    yield [(prompt,output)]
         | 
| 44 | 
            -
                history.append(prompt,output)
         | 
| 45 | 
             
                yield history
         | 
| 46 |  | 
| 47 | 
             
            def get_screenshot(chat: list,height=5000,width=600,chatblock=[1],theme="light",wait=3000,header=True):
         | 
|  | |
| 41 | 
             
                for response in stream:
         | 
| 42 | 
             
                    output += response.token.text
         | 
| 43 | 
             
                    yield [(prompt,output)]
         | 
| 44 | 
            +
                history.append((prompt,output))
         | 
| 45 | 
             
                yield history
         | 
| 46 |  | 
| 47 | 
             
            def get_screenshot(chat: list,height=5000,width=600,chatblock=[1],theme="light",wait=3000,header=True):
         | 
