Sync from GitHub repo
Browse filesThis Space is synced from the GitHub repo: https://github.com/SWivid/F5-TTS. Please submit contributions to the Space there
    	
        app.py
    CHANGED
    
    | 
         @@ -333,7 +333,7 @@ with gr.Blocks() as app_multistyle: 
     | 
|
| 333 | 
         
             
                        speech_type_name = speech_type_name or "None"
         
     | 
| 334 | 
         
             
                        updated_text = current_text + f"{{{speech_type_name}}} "
         
     | 
| 335 | 
         
             
                        return gr.update(value=updated_text)
         
     | 
| 336 | 
         
            -
             
     | 
| 337 | 
         
             
                    return insert_speech_type_fn
         
     | 
| 338 | 
         | 
| 339 | 
         
             
                for i, insert_btn in enumerate(speech_type_insert_btns):
         
     | 
| 
         | 
|
| 333 | 
         
             
                        speech_type_name = speech_type_name or "None"
         
     | 
| 334 | 
         
             
                        updated_text = current_text + f"{{{speech_type_name}}} "
         
     | 
| 335 | 
         
             
                        return gr.update(value=updated_text)
         
     | 
| 336 | 
         
            +
             
     | 
| 337 | 
         
             
                    return insert_speech_type_fn
         
     | 
| 338 | 
         | 
| 339 | 
         
             
                for i, insert_btn in enumerate(speech_type_insert_btns):
         
     |