feat: no fix seed
Browse files
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(
|