Spaces:
				
			
			
	
			
			
					
		Running
		
	
	
	
			
			
	
	
	
	
		
		
					
		Running
		
	showing the Parler voice prompt
Browse files- app/ui_vote.py +9 -0
    	
        app/ui_vote.py
    CHANGED
    
    | @@ -101,6 +101,15 @@ with gr.Blocks() as vote: | |
| 101 | 
             
                    label="Autoplay audio",
         | 
| 102 | 
             
                    value=True
         | 
| 103 | 
             
                )
         | 
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
| 104 |  | 
| 105 | 
             
                outputs = [
         | 
| 106 | 
             
                    text,
         | 
|  | |
| 101 | 
             
                    label="Autoplay audio",
         | 
| 102 | 
             
                    value=True
         | 
| 103 | 
             
                )
         | 
| 104 | 
            +
                # hardcoded voice instruct prompt (ParlerTTS, CosyVoice)
         | 
| 105 | 
            +
                gr.Textbox(
         | 
| 106 | 
            +
                    interactive=False,
         | 
| 107 | 
            +
                    lines=1,
         | 
| 108 | 
            +
                    max_lines=1,
         | 
| 109 | 
            +
                    visible=True,
         | 
| 110 | 
            +
                    show_label=False,
         | 
| 111 | 
            +
                    placeholder="Hardcoded voice instruction prompt (ParlerTTS): "+ DEFAULT_VOICE_PROMPT,
         | 
| 112 | 
            +
                )
         | 
| 113 |  | 
| 114 | 
             
                outputs = [
         | 
| 115 | 
             
                    text,
         | 
 
			
