Yingxu He commited on
Commit
93a13eb
·
verified ·
1 Parent(s): 02d0404

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +2 -2
README.md CHANGED
@@ -67,7 +67,7 @@ model = AutoModelForSpeechSeq2Seq.from_pretrained(
67
  )
68
 
69
  prompt = "Given the following audio context: <SpeechHere>\n\nText instruction: {query}"
70
- query = "Can you please turn this audio into text format?"
71
  conversation = [
72
  {"role": "user", "content": prompt.format(query=query)}
73
  ]
@@ -108,7 +108,7 @@ model = AutoModelForSpeechSeq2Seq.from_pretrained(
108
  )
109
 
110
  prompt = "Given the following audio context: <SpeechHere>\n\nText instruction: {query}"
111
- transcribe_query = "Can you please turn this speech into text format?"
112
  translate_query = "Can you please translate this speech into written Chinese?"
113
 
114
  conversation = [
 
67
  )
68
 
69
  prompt = "Given the following audio context: <SpeechHere>\n\nText instruction: {query}"
70
+ query = "Please transcribe this speech."
71
  conversation = [
72
  {"role": "user", "content": prompt.format(query=query)}
73
  ]
 
108
  )
109
 
110
  prompt = "Given the following audio context: <SpeechHere>\n\nText instruction: {query}"
111
+ transcribe_query = "Please transcribe this speech."
112
  translate_query = "Can you please translate this speech into written Chinese?"
113
 
114
  conversation = [