Spaces:
				
			
			
	
			
			
		Runtime error
		
	
	
	
			
			
	
	
	
	
		
		
		Runtime error
		
	Update app.py
Browse files
    	
        app.py
    CHANGED
    
    | @@ -60,7 +60,7 @@ def nltk_extract_quotes(text): | |
| 60 | 
             
                quotes = []
         | 
| 61 | 
             
                sentences = nltk.tokenize.sent_tokenize(text, language='arabic')
         | 
| 62 | 
             
                for sentence in sentences:
         | 
| 63 | 
            -
                    if '"' in sentence or '«'  | 
| 64 | 
             
                        quotes.append(sentence)
         | 
| 65 | 
             
                return quotes
         | 
| 66 |  | 
|  | |
| 60 | 
             
                quotes = []
         | 
| 61 | 
             
                sentences = nltk.tokenize.sent_tokenize(text, language='arabic')
         | 
| 62 | 
             
                for sentence in sentences:
         | 
| 63 | 
            +
                    if '"' in sentence or '«' in sentence or '»' in sentence:
         | 
| 64 | 
             
                        quotes.append(sentence)
         | 
| 65 | 
             
                return quotes
         | 
| 66 |  |