yhzx233 commited on
Commit
7baeb78
·
1 Parent(s): c46d0d4

feat: no fix seed

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -212,8 +212,8 @@ def process_single_audio_generation(
212
  return None, "Error: Please select a mode and provide corresponding audio files\n- Single Audio Mode: Provide one audio file and corresponding text\n- Role Mode: Provide audio files for Role1 and Role2"
213
 
214
  # Set random seed to ensure reproducible results
215
- import accelerate
216
- accelerate.utils.set_seed(42)
217
 
218
  # Process batch (single item)
219
  actual_texts_data, audio_results = process_batch(
 
212
  return None, "Error: Please select a mode and provide corresponding audio files\n- Single Audio Mode: Provide one audio file and corresponding text\n- Role Mode: Provide audio files for Role1 and Role2"
213
 
214
  # Set random seed to ensure reproducible results
215
+ # import accelerate
216
+ # accelerate.utils.set_seed(42)
217
 
218
  # Process batch (single item)
219
  actual_texts_data, audio_results = process_batch(