samir72 commited on
Commit
dc3ba00
·
1 Parent(s): 5c45d3a

Responsible AI

Browse files
Files changed (1) hide show
  1. app.py +4 -1
app.py CHANGED
@@ -280,7 +280,7 @@ with gr.Blocks(title="Audio Summarizer") as demo:
280
  gr.Markdown("# Audio File Summarizer (Azure OpenAI)")
281
  gr.Markdown("Upload an mp3(**YouTube is the new feature add**), record audio, or paste a URL, use the default user prompt and system prompt and click 'Summarize'.")
282
  gr.Markdown("Users are encouraged to modify the user and system prompts to suit their needs.")
283
-
284
  with gr.Row():
285
  with gr.Column():
286
  upload_audio = gr.Audio(sources=["upload"], type="filepath", label="Upload mp3")
@@ -343,7 +343,10 @@ with gr.Blocks(title="Audio Summarizer") as demo:
343
  fn=process_audio,
344
  inputs=[upload_audio, record_audio, url_input, sysprompt_input, userprompt_input],
345
  outputs=output,
 
 
346
  )
347
 
 
348
  if __name__ == "__main__":
349
  demo.launch()
 
280
  gr.Markdown("# Audio File Summarizer (Azure OpenAI)")
281
  gr.Markdown("Upload an mp3(**YouTube is the new feature add**), record audio, or paste a URL, use the default user prompt and system prompt and click 'Summarize'.")
282
  gr.Markdown("Users are encouraged to modify the user and system prompts to suit their needs.")
283
+ gr.Markdown("**Responsible Use**: This project is for educational and research purposes only. It does not intend to violate copyright, YouTube’s Terms of Service, or data rights. Users are responsible for ensuring compliance with applicable laws and platform policies when processing audio or video content. AudioSummarizer is designed as a learning tool to explore AI summarization workflows, not as a commercial service.")
284
  with gr.Row():
285
  with gr.Column():
286
  upload_audio = gr.Audio(sources=["upload"], type="filepath", label="Upload mp3")
 
343
  fn=process_audio,
344
  inputs=[upload_audio, record_audio, url_input, sysprompt_input, userprompt_input],
345
  outputs=output,
346
+
347
+
348
  )
349
 
350
+
351
  if __name__ == "__main__":
352
  demo.launch()