PerryCheng614 commited on
Commit
7bd2b9b
1 Parent(s): fd06c1e

updata some details

Browse files
Files changed (1) hide show
  1. app.py +5 -1
app.py CHANGED
@@ -45,12 +45,16 @@ demo = gr.Interface(
45
  )
46
  ],
47
  outputs=gr.Textbox(label="Response"),
48
- title="Audio Processing Service",
49
  description="Upload an audio file and optionally provide a prompt to analyze the audio content.",
50
  examples=[
51
  ["example_audios/example_1.wav", "transcribe this audio in English"],
52
  ]
53
  )
54
 
 
 
 
 
55
  if __name__ == "__main__":
56
  demo.launch()
 
45
  )
46
  ],
47
  outputs=gr.Textbox(label="Response"),
48
+ title="Nexa Omni",
49
  description="Upload an audio file and optionally provide a prompt to analyze the audio content.",
50
  examples=[
51
  ["example_audios/example_1.wav", "transcribe this audio in English"],
52
  ]
53
  )
54
 
55
+ def clear_output(audio, prompt):
56
+ return ""
57
+ demo.load_examples = clear_output
58
+
59
  if __name__ == "__main__":
60
  demo.launch()