Skip to content

armgit / dify

Public Imported from GitHub
0

Build Agentic workflows, RAG pipelines, with rich AI model and tool support on one collaborative workspace. Deploy on cloud, VPC, or self-hosted, so teams move from prototype to production without rebuilding the stack.

395 B
Raw Blame
import * as React from 'react'
import AudioPlayer from './AudioPlayer'

type Props = Readonly<{
  srcs: string[]
}>

const AudioGallery: React.FC<Props> = ({ srcs }) => {
  const validSrcs = srcs.filter((src) => src)
  if (validSrcs.length === 0) return null

  return (
    <div className="my-3">
      <AudioPlayer srcs={validSrcs} />
    </div>
  )
}

export default React.memo(AudioGallery)