Spaces:
				
			
			
	
			
			
					
		Running
		
	
	
	
			
			
	
	
	
	
		
		
					
		Running
		
	Commit 
							
							·
						
						67d1057
	
1
								Parent(s):
							
							b58c988
								
Update app.py
Browse files
    	
        app.py
    CHANGED
    
    | @@ -32,6 +32,18 @@ policy_help_string = """Policies are defined as follows: | |
| 32 |  | 
| 33 | 
             
            For more information on the transformation policies, please refer to the guide [here](https://github.com/piisa/pii-transform/blob/main/doc/policies.md#pii-transformation-policies)"""
         | 
| 34 |  | 
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
| 35 |  | 
| 36 | 
             
            def change_language(language_selection):
         | 
| 37 | 
             
                global language_code
         | 
| @@ -63,6 +75,8 @@ def get_full_example(idx): | |
| 63 |  | 
| 64 |  | 
| 65 | 
             
            with gr.Blocks() as demo:
         | 
|  | |
|  | |
| 66 | 
             
                with gr.Row():
         | 
| 67 | 
             
                    with gr.Column(scale=0, min_width=100):
         | 
| 68 | 
             
                        logo = gr.Image(
         | 
|  | |
| 32 |  | 
| 33 | 
             
            For more information on the transformation policies, please refer to the guide [here](https://github.com/piisa/pii-transform/blob/main/doc/policies.md#pii-transformation-policies)"""
         | 
| 34 |  | 
| 35 | 
            +
            header_string = """
         | 
| 36 | 
            +
            ## [PIISA](https://privacyprotection.substack.com/p/towards-a-common-privacy-api-introducing)
         | 
| 37 | 
            +
            **PIISA** (Personally Identifiable Information Standard Architecture) is a set of tools to detect and remediate 
         | 
| 38 | 
            +
            PII within large scale language data. It uses best of breed  tools like :hugs: [transformers](https://huggingface.co/docs/transformers/index) libraries, 
         | 
| 39 | 
            +
            [spaCy](https://spacy.io/), regular expressions, [Faker](https://faker.readthedocs.io/en/master/) and [Presidio](https://microsoft.github.io/presidio/)
         | 
| 40 | 
            +
            to leverage best practices for effectively managing data privacy in accordance with your privacy policies.
         | 
| 41 | 
            +
             | 
| 42 | 
            +
            Important links:
         | 
| 43 | 
            +
            1. [PIISA API docs](https://github.com/piisa/piisa)
         | 
| 44 | 
            +
            2. [Blog](https://privacyprotection.substack.com/)
         | 
| 45 | 
            +
            3. [LinkedIn](https://www.linkedin.com/company/piisa/)
         | 
| 46 | 
            +
            """"
         | 
| 47 |  | 
| 48 | 
             
            def change_language(language_selection):
         | 
| 49 | 
             
                global language_code
         | 
|  | |
| 75 |  | 
| 76 |  | 
| 77 | 
             
            with gr.Blocks() as demo:
         | 
| 78 | 
            +
                with gr.Row():
         | 
| 79 | 
            +
                    header = gr.Markdown()
         | 
| 80 | 
             
                with gr.Row():
         | 
| 81 | 
             
                    with gr.Column(scale=0, min_width=100):
         | 
| 82 | 
             
                        logo = gr.Image(
         | 

