Commit 
							
							·
						
						13fe440
	
1
								Parent(s):
							
							bb213b3
								
Update index.html
Browse files- index.html +1 -23
    	
        index.html
    CHANGED
    
    | @@ -7,7 +7,7 @@ | |
| 7 | 
             
            		<link rel="stylesheet" href="https://huggingface.co/spaces/vk-ai-system/flask_inference_api/resolve/main/style.css" />
         | 
| 8 |  | 
| 9 |  | 
| 10 | 
            -
             | 
| 11 |  | 
| 12 |  | 
| 13 |  | 
| @@ -23,28 +23,6 @@ | |
| 23 | 
             
            		</div>
         | 
| 24 |  | 
| 25 |  | 
| 26 | 
            -
            <script>   
         | 
| 27 | 
            -
                  
         | 
| 28 | 
            -
             | 
| 29 | 
            -
            import { client } from "@gradio/client";
         | 
| 30 | 
            -
             | 
| 31 | 
            -
            const app = await client("https://hysts-kandinsky-2-2.hf.space/");
         | 
| 32 | 
            -
            const result = await app.predict("/run", [		
         | 
| 33 | 
            -
            				"Howdy!", // string  in 'Prompt' Textbox component		
         | 
| 34 | 
            -
            				"Howdy!", // string  in 'Negative prompt' Textbox component		
         | 
| 35 | 
            -
            				0, // number (numeric value between 0 and 2147483647) in 'Seed' Slider component		
         | 
| 36 | 
            -
            				256, // number (numeric value between 256 and 1024) in 'Width' Slider component		
         | 
| 37 | 
            -
            				256, // number (numeric value between 256 and 1024) in 'Height' Slider component		
         | 
| 38 | 
            -
            				1, // number (numeric value between 1 and 20) in 'Guidance scale for prior' Slider component		
         | 
| 39 | 
            -
            				1, // number (numeric value between 1 and 20) in 'Guidance scale' Slider component		
         | 
| 40 | 
            -
            				10, // number (numeric value between 10 and 100) in 'Number of inference steps for prior' Slider component		
         | 
| 41 | 
            -
            				10, // number (numeric value between 10 and 150) in 'Number of inference steps' Slider component
         | 
| 42 | 
            -
            	]);
         | 
| 43 | 
            -
             | 
| 44 | 
            -
            console.log(result.data);
         | 
| 45 | 
            -
             | 
| 46 | 
            -
             | 
| 47 | 
            -
            </script>
         | 
| 48 |  | 
| 49 |  | 
| 50 |  | 
|  | |
| 7 | 
             
            		<link rel="stylesheet" href="https://huggingface.co/spaces/vk-ai-system/flask_inference_api/resolve/main/style.css" />
         | 
| 8 |  | 
| 9 |  | 
| 10 | 
            +
             | 
| 11 |  | 
| 12 |  | 
| 13 |  | 
|  | |
| 23 | 
             
            		</div>
         | 
| 24 |  | 
| 25 |  | 
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
| 26 |  | 
| 27 |  | 
| 28 |  |