helloWorld199 commited on
Commit
703fb58
1 Parent(s): 0752f2a

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +5 -0
app.py CHANGED
@@ -217,9 +217,14 @@ def add_voice_labelv2(json_file, audio_path):
217
  }
218
 
219
  begin_seq = True
 
 
220
 
221
  except Exception as e:
222
  print(f"An exception occurred: {e}")
 
 
 
223
 
224
  with gr.Blocks() as demo:
225
  gr.HTML(HEADER)
 
217
  }
218
 
219
  begin_seq = True
220
+
221
+
222
 
223
  except Exception as e:
224
  print(f"An exception occurred: {e}")
225
+
226
+ with open(json_file, 'w') as f:
227
+ json.dump(data, f, indent=4)
228
 
229
  with gr.Blocks() as demo:
230
  gr.HTML(HEADER)