Fcabla commited on
Commit
d5cecd1
·
verified ·
1 Parent(s): 56922c9

Upload folder using huggingface_hub

Browse files
Files changed (1) hide show
  1. app.py +3 -1
app.py CHANGED
@@ -302,8 +302,10 @@ with gr.Blocks(title="EYEWITNESS") as demo:
302
  {report_table_html(report)}""")
303
  voice = verdict_voice(correct)
304
  if voice:
 
 
305
  gr.Audio(value=voice, autoplay=True, show_label=False,
306
- show_download_button=False, container=False)
307
  poster = make_wanted_poster(
308
  sketch_from_testimony(s["described"]), case.culprit, correct,
309
  report.weighted_pct, case.crime_name, case.rank)
 
302
  {report_table_html(report)}""")
303
  voice = verdict_voice(correct)
304
  if voice:
305
+ # minimal kwargs: the Space's gradio build rejects newer
306
+ # Audio options like show_download_button
307
  gr.Audio(value=voice, autoplay=True, show_label=False,
308
+ container=False)
309
  poster = make_wanted_poster(
310
  sketch_from_testimony(s["described"]), case.culprit, correct,
311
  report.weighted_pct, case.crime_name, case.rank)