Qifan Zhang
		
	commited on
		
		
					Commit 
							
							Β·
						
						8920952
	
1
								Parent(s):
							
							0e97d35
								
add xlm example
Browse files- app.py +1 -1
- data/example_xlm.csv +19 -0
- data/{example.csv β example_zh.csv} +0 -0
    	
        app.py
    CHANGED
    
    | @@ -64,7 +64,7 @@ model_name_dropdown = gr.components.Dropdown( | |
| 64 | 
             
            )
         | 
| 65 |  | 
| 66 | 
             
            text_input = gr.components.Textbox(
         | 
| 67 | 
            -
                value=open('data/ | 
| 68 | 
             
                lines=10,
         | 
| 69 | 
             
                type='text'
         | 
| 70 | 
             
            )
         | 
|  | |
| 64 | 
             
            )
         | 
| 65 |  | 
| 66 | 
             
            text_input = gr.components.Textbox(
         | 
| 67 | 
            +
                value=open('data/example_xlm.csv', 'r').read(),
         | 
| 68 | 
             
                lines=10,
         | 
| 69 | 
             
                type='text'
         | 
| 70 | 
             
            )
         | 
    	
        data/example_xlm.csv
    ADDED
    
    | @@ -0,0 +1,19 @@ | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | 
|  | |
| 1 | 
            +
            id,prompt,response
         | 
| 2 | 
            +
            1,εΊε,θΏζ»€ε¨
         | 
| 3 | 
            +
            1,εΊε,εζζΈη½ζι±Ό
         | 
| 4 | 
            +
            1,εΊε,εζζ倴
         | 
| 5 | 
            +
            1,ηε·,ζ
δΊΊ
         | 
| 6 | 
            +
            1,ηε·,η¨δ½ιζ
         | 
| 7 | 
            +
            1,ηε·,ε½ι£ιζ
         | 
| 8 | 
            +
            2,εΊε,εθ’«ε
         | 
| 9 | 
            +
            2,εΊε,δΏζ
         | 
| 10 | 
            +
            2,εΊε,η»ε¨ζ δΈεζεεΊ
         | 
| 11 | 
            +
            1,bedsheet,used as a filter
         | 
| 12 | 
            +
            1,bedsheet,used as a net to catch fish
         | 
| 13 | 
            +
            1,bedsheet,to make pillows
         | 
| 14 | 
            +
            1,toothbrush,stab people
         | 
| 15 | 
            +
            1,toothbrush,wash shoes
         | 
| 16 | 
            +
            1,toothbrush,throw as darts
         | 
| 17 | 
            +
            2,bedsheet,to make quilt
         | 
| 18 | 
            +
            2,bedsheet,to keep warm
         | 
| 19 | 
            +
            2,bedsheet,tied to trees to make a hammock
         | 
    	
        data/{example.csv β example_zh.csv}
    RENAMED
    
    | 
            File without changes
         | 
