Spaces:
				
			
			
	
			
			
		Sleeping
		
	
	
	
			
			
	
	
	
	
		
		
		Sleeping
		
	Update app.py
Browse files
    	
        app.py
    CHANGED
    
    | @@ -125,7 +125,7 @@ def paraphrase_with_spacy_nltk(text): | |
| 125 |  | 
| 126 | 
             
            # Function to correct grammar using Gramformer
         | 
| 127 | 
             
            def correct_grammar(text):
         | 
| 128 | 
            -
                corrected_sentences = gf.correct(text | 
| 129 | 
             
                return corrected_sentences[0] if corrected_sentences else text
         | 
| 130 |  | 
| 131 | 
             
            # Combined function: Paraphrase -> Tense Check -> Capitalization -> Grammar Correction
         | 
|  | |
| 125 |  | 
| 126 | 
             
            # Function to correct grammar using Gramformer
         | 
| 127 | 
             
            def correct_grammar(text):
         | 
| 128 | 
            +
                corrected_sentences = gf.correct(text)
         | 
| 129 | 
             
                return corrected_sentences[0] if corrected_sentences else text
         | 
| 130 |  | 
| 131 | 
             
            # Combined function: Paraphrase -> Tense Check -> Capitalization -> Grammar Correction
         | 
