jadechoghari commited on
Commit
7245754
1 Parent(s): ec033ea

Update pipeline.py

Browse files
Files changed (1) hide show
  1. pipeline.py +2 -1
pipeline.py CHANGED
@@ -88,7 +88,8 @@ class MOSDiffusionPipeline(DiffusionPipeline):
88
  Build dataset_key dynamically from the provided prompt.
89
  """
90
  # for simplicity let's just return the prompt as the dataset_key
91
- return {"prompt": prompt}
 
92
 
93
 
94
  # Example of how to use the pipeline
 
88
  Build dataset_key dynamically from the provided prompt.
89
  """
90
  # for simplicity let's just return the prompt as the dataset_key
91
+ data = [{"wav": "", "caption": prompt}] # no wav file, just the caption (prompt)
92
+ return {"data": data}
93
 
94
 
95
  # Example of how to use the pipeline