mbellan commited on
Commit
4bd34d3
·
1 Parent(s): a6aecee

Fix Gradio runtime errors

Browse files
Files changed (1) hide show
  1. app.py +4 -1
app.py CHANGED
@@ -4,6 +4,9 @@ HuggingFace Space App - Voice Model RL Training
4
  Production-grade Gradio interface for training and comparing voice models.
5
  """
6
  import os
 
 
 
7
  import sys
8
  import json
9
  import logging
@@ -455,8 +458,8 @@ if __name__ == "__main__":
455
  app = create_app()
456
  app.queue()
457
  app.launch(
 
458
  server_name="0.0.0.0",
459
  server_port=7860,
460
- share=False,
461
  show_api=False
462
  )
 
4
  Production-grade Gradio interface for training and comparing voice models.
5
  """
6
  import os
7
+ # Fix OMP threading warning
8
+ os.environ["OMP_NUM_THREADS"] = "1"
9
+
10
  import sys
11
  import json
12
  import logging
 
458
  app = create_app()
459
  app.queue()
460
  app.launch(
461
+ share=True,
462
  server_name="0.0.0.0",
463
  server_port=7860,
 
464
  show_api=False
465
  )