We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 98263e8 commit b93f3a2Copy full SHA for b93f3a2
1 file changed
processors/machine_learning/audio_to_text.py
@@ -314,8 +314,8 @@ def process(self):
314
raise ProcessorInterruptedException("DMI Service Manager GPU busy")
315
316
# Check advanced_settings
317
- advanced_settings = self.parameters.get("advanced", False)
318
- if advanced_settings:
+ advanced_settings = self.parameters.get("advanced", {})
+ if type(advanced_settings) is str:
319
try:
320
advanced_settings = json.loads(advanced_settings)
321
except ValueError:
0 commit comments