Spaces:
				
			
			
	
			
			
		Build error
		
	
	
	
			
			
	
	
	
	
		
		
		Build error
		
	
    	
        app.py
    CHANGED
    
    | 
         @@ -58,6 +58,7 @@ def generate_gifs(gif_transcript, words, words_timestamp): 
     | 
|
| 58 | 
         
             
                #getting gif indexes from the generator
         
     | 
| 59 | 
         
             
                # Converting string to list
         
     | 
| 60 | 
         
             
                words = ast.literal_eval(words)
         
     | 
| 
         | 
|
| 61 | 
         
             
                print(f"words is :{words}")
         
     | 
| 62 | 
         
             
                print(f"type of words is :{type(words)}")
         
     | 
| 63 | 
         
             
                print(f"length of words is :{len(words)}")
         
     | 
| 
         @@ -158,6 +159,7 @@ def get_gif_timestamps(giflist_indxs, words_timestamp): 
     | 
|
| 158 | 
         
             
              print(f"min_idx is :{min_idx}")
         
     | 
| 159 | 
         
             
              print(f"max_idx is :{max_idx}")
         
     | 
| 160 | 
         | 
| 
         | 
|
| 161 | 
         
             
              gif_words_timestamp = words_timestamp[min_idx : max_idx+1]
         
     | 
| 162 | 
         
             
              print(f"words_timestamp is :{words_timestamp}")
         
     | 
| 163 | 
         
             
              print(f"gif_words_timestamp is :{gif_words_timestamp}")
         
     | 
| 
         | 
|
| 58 | 
         
             
                #getting gif indexes from the generator
         
     | 
| 59 | 
         
             
                # Converting string to list
         
     | 
| 60 | 
         
             
                words = ast.literal_eval(words)
         
     | 
| 61 | 
         
            +
                words_timestamp = ast.literal_eval(words_timestamp)
         
     | 
| 62 | 
         
             
                print(f"words is :{words}")
         
     | 
| 63 | 
         
             
                print(f"type of words is :{type(words)}")
         
     | 
| 64 | 
         
             
                print(f"length of words is :{len(words)}")
         
     | 
| 
         | 
|
| 159 | 
         
             
              print(f"min_idx is :{min_idx}")
         
     | 
| 160 | 
         
             
              print(f"max_idx is :{max_idx}")
         
     | 
| 161 | 
         | 
| 162 | 
         
            +
              print(f"type of words_timestamp is :{type(words_timestamp)}")
         
     | 
| 163 | 
         
             
              gif_words_timestamp = words_timestamp[min_idx : max_idx+1]
         
     | 
| 164 | 
         
             
              print(f"words_timestamp is :{words_timestamp}")
         
     | 
| 165 | 
         
             
              print(f"gif_words_timestamp is :{gif_words_timestamp}")
         
     |