better quoting. Curse you bash!
This commit is contained in:
		
							parent
							
								
									09848c58a6
								
							
						
					
					
						commit
						c20470cdf0
					
				
					 1 changed files with 2 additions and 2 deletions
				
			
		
							
								
								
									
										4
									
								
								justfile
									
										
									
									
									
								
							
							
						
						
									
										4
									
								
								justfile
									
										
									
									
									
								
							| 
						 | 
					@ -13,7 +13,7 @@ start-server voice=default-voice:
 | 
				
			||||||
    python3 -m piper.http_server --data-dir voices -m {{voice}}
 | 
					    python3 -m piper.http_server --data-dir voices -m {{voice}}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
say-now phrase voice=default-voice:
 | 
					say-now phrase voice=default-voice:
 | 
				
			||||||
    echo "{{phrase}}" | piper -m voices/{{voice}} -f - | ffplay -nodisp -autoexit -
 | 
					    echo $'{{phrase}}' | piper -m voices/{{voice}} -f - | ffplay -nodisp -autoexit -
 | 
				
			||||||
 | 
					
 | 
				
			||||||
say phrase voice=default-voice:
 | 
					say phrase voice=default-voice:
 | 
				
			||||||
    curl -X POST -H 'Content-Type: application/json' -d '{ "text": "{{phrase}}", "voice": "{{voice}}" }' localhost:5000 | ffplay -nodisp -autoexit -
 | 
					    curl -X POST -H 'Content-Type: application/json' -d $'{ "text": "{{phrase}}", "voice": "{{voice}}" }' localhost:5000 | ffplay -nodisp -autoexit -
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue