diff src/edit_course.html.luan @ 69:f5e72f2d1025

add stt_prompt
author Franklin Schmidt <fschmidt@gmail.com>
date Sat, 23 Aug 2025 07:07:59 -0600
parents a366d27db8f1
children
line wrap: on
line diff
--- a/src/edit_course.html.luan	Sat Aug 23 04:32:17 2025 -0600
+++ b/src/edit_course.html.luan	Sat Aug 23 07:07:59 2025 -0600
@@ -30,6 +30,7 @@
 			tts_instructions = ""
 			has_ruby = false
 			description = ""
+			stt_prompt = ""
 		}
 	end
 	Io.stdout = Http.response.text_writer()
@@ -83,6 +84,9 @@
 			<h4>Text to speech instructions</h4>
 			<textarea name=tts_instructions oninput="fixTextarea(event.target)"><%=html_encode(course.tts_instructions)%></textarea>
 
+			<h4>Speech to text prompt</h4>
+			<textarea name=stt_prompt oninput="fixTextarea(event.target)"><%=html_encode(course.stt_prompt)%></textarea>
+
 			<input type=submit>
 
 			<hr>