nikigoli commited on
Commit
e486878
1 Parent(s): c9af1ba

Added warning suppression

Browse files
Files changed (1) hide show
  1. app.py +3 -0
app.py CHANGED
@@ -26,6 +26,9 @@ import shlex
26
  import shutil
27
  os.environ["GRADIO_TEMP_DIR"] = os.path.join(os.getcwd(), "tmp")
28
  cwd = os.getcwd()
 
 
 
29
 
30
  # Installing dependencies not in requirements.txt
31
  subprocess.run(
 
26
  import shutil
27
  os.environ["GRADIO_TEMP_DIR"] = os.path.join(os.getcwd(), "tmp")
28
  cwd = os.getcwd()
29
+ # Suppress warnings to avoid overflowing the log.
30
+ import warnings
31
+ warnings.filterwarnings("ignore")
32
 
33
  # Installing dependencies not in requirements.txt
34
  subprocess.run(