Spaces:
				
			
			
	
			
			
		Runtime error
		
	
	
	
			
			
	
	
	
	
		
		
		Runtime error
		
	
		θε€
		
	commited on
		
		
					Commit 
							
							Β·
						
						c753c37
	
1
								Parent(s):
							
							8eaeb01
								
examples
Browse files- app.py +2 -2
 - examples/Iron_Man.mp4 +3 -0
 - examples/birthday.mp4 +3 -0
 - examples/dog.jpg +0 -0
 - examples/jonsnow.jpg +0 -0
 - examples/skateboarding_dog.mp4 +3 -0
 - examples/statue_of_liberty.jpg +0 -0
 
    	
        app.py
    CHANGED
    
    | 
         @@ -131,8 +131,8 @@ def gradio_answer(chatbot, chat_state, img_list, num_beams, temperature): 
     | 
|
| 131 | 
         
             
                                          img_list=img_list,
         
     | 
| 132 | 
         
             
                                          num_beams=1,
         
     | 
| 133 | 
         
             
                                          temperature=temperature,
         
     | 
| 134 | 
         
            -
                                          max_new_tokens= 
     | 
| 135 | 
         
            -
                                          max_length= 
     | 
| 136 | 
         
             
                chatbot[-1][1] = llm_message
         
     | 
| 137 | 
         
             
                print(chat_state.get_prompt())
         
     | 
| 138 | 
         
             
                print(chat_state)
         
     | 
| 
         | 
|
| 131 | 
         
             
                                          img_list=img_list,
         
     | 
| 132 | 
         
             
                                          num_beams=1,
         
     | 
| 133 | 
         
             
                                          temperature=temperature,
         
     | 
| 134 | 
         
            +
                                          max_new_tokens=240,
         
     | 
| 135 | 
         
            +
                                          max_length=512)[0]
         
     | 
| 136 | 
         
             
                chatbot[-1][1] = llm_message
         
     | 
| 137 | 
         
             
                print(chat_state.get_prompt())
         
     | 
| 138 | 
         
             
                print(chat_state)
         
     | 
    	
        examples/Iron_Man.mp4
    ADDED
    
    | 
         @@ -0,0 +1,3 @@ 
     | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
| 
         | 
|
| 1 | 
         
            +
            version https://git-lfs.github.com/spec/v1
         
     | 
| 2 | 
         
            +
            oid sha256:9de6a863aa36d090d86e0dd36081d23f808b37ed8745554e9d574fca1b9fcd24
         
     | 
| 3 | 
         
            +
            size 714400
         
     | 
    	
        examples/birthday.mp4
    ADDED
    
    | 
         @@ -0,0 +1,3 @@ 
     | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
| 
         | 
|
| 1 | 
         
            +
            version https://git-lfs.github.com/spec/v1
         
     | 
| 2 | 
         
            +
            oid sha256:1e08b8a99240f1a05cd559a7ad41892cb0a42682ffa36abcf0afa7f4c49ea763
         
     | 
| 3 | 
         
            +
            size 1920077
         
     | 
    	
        examples/dog.jpg
    ADDED
    
    
											 
									 | 
									
								
    	
        examples/jonsnow.jpg
    ADDED
    
    
											 
									 | 
									
								
    	
        examples/skateboarding_dog.mp4
    ADDED
    
    | 
         @@ -0,0 +1,3 @@ 
     | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
| 
         | 
|
| 1 | 
         
            +
            version https://git-lfs.github.com/spec/v1
         
     | 
| 2 | 
         
            +
            oid sha256:a627a9ce2470fa3f4fe36a77af57dd5d4eda6b3b2dacb4a2e6ad10dceb711a6c
         
     | 
| 3 | 
         
            +
            size 1308035
         
     | 
    	
        examples/statue_of_liberty.jpg
    ADDED
    
    
											 
									 |