temptrip commited on
Commit
f19a2de
·
1 Parent(s): eaeab3e
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -77,7 +77,7 @@ def generate_trump_voice_with_realtime_updates(text, word_num, request: gr.Reque
77
  print(voice_url, "===>voice_url")
78
 
79
  # 下载音频文件到本地以避免SSRF保护问题
80
- local_audio_path = download_audio_file(voice_url)
81
 
82
  # Create action buttons HTML
83
  action_buttons_html = f"""
 
77
  print(voice_url, "===>voice_url")
78
 
79
  # 下载音频文件到本地以避免SSRF保护问题
80
+ local_audio_path = voice_url
81
 
82
  # Create action buttons HTML
83
  action_buttons_html = f"""