cafierom commited on
Commit
54a0dbc
·
verified ·
1 Parent(s): 365aaea

Upload app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -130,7 +130,7 @@ with gr.Blocks(fill_height=True) as OpenAIMoDrAg:
130
 
131
  @gr.render(inputs=top)
132
  def get_speech(args):
133
- audio_file = 'MoDrAg/SemanticMoDrAg/data/MoDrAg_hello.mp3'
134
  with open(audio_file, 'rb') as audio_bytes:
135
  audio = base64.b64encode(audio_bytes.read()).decode("utf-8")
136
  audio_player = f'<audio src="data:audio/mpeg;base64,{audio}" controls autoplay></audio>'
 
130
 
131
  @gr.render(inputs=top)
132
  def get_speech(args):
133
+ audio_file = 'MoDrAg_hello.mp3'
134
  with open(audio_file, 'rb') as audio_bytes:
135
  audio = base64.b64encode(audio_bytes.read()).decode("utf-8")
136
  audio_player = f'<audio src="data:audio/mpeg;base64,{audio}" controls autoplay></audio>'