Rulga commited on
Commit
b518cb7
·
1 Parent(s): cd9e2f6

Remove unnecessary comments and streamline Matplotlib configuration setup

Browse files
Files changed (1) hide show
  1. app.py +0 -2
app.py CHANGED
@@ -5,9 +5,7 @@ import time
5
  import requests
6
  from requests.exceptions import ConnectionError
7
 
8
- # Установка конфигурационной директории для Matplotlib
9
  os.environ['MPLCONFIGDIR'] = os.path.join(os.getcwd(), 'cache', 'matplotlib')
10
- # Создаем директорию с правильными правами
11
  os.makedirs(os.environ['MPLCONFIGDIR'], exist_ok=True)
12
 
13
  import gradio as gr
 
5
  import requests
6
  from requests.exceptions import ConnectionError
7
 
 
8
  os.environ['MPLCONFIGDIR'] = os.path.join(os.getcwd(), 'cache', 'matplotlib')
 
9
  os.makedirs(os.environ['MPLCONFIGDIR'], exist_ok=True)
10
 
11
  import gradio as gr