jaekookang commited on
Commit
732466b
1 Parent(s): d10780d

try cv error fix

Browse files
Files changed (1) hide show
  1. gradio_painttransformer.py +3 -3
gradio_painttransformer.py CHANGED
@@ -6,6 +6,9 @@
6
  '''
7
 
8
  import os
 
 
 
9
  import cv2
10
  import network
11
  from time import time
@@ -29,9 +32,6 @@ HEIGHT = 512
29
  STROKE_NUM = 8
30
  FPS = 10
31
 
32
- os.system('apt-get update')
33
- os.system('apt-get -y install libgl1-mesa-glx')
34
-
35
  # ---------- Logger ----------
36
  logger.add('app.log', mode='a')
37
  logger.info('===== APP RESTARTED =====')
 
6
  '''
7
 
8
  import os
9
+ os.system('apt-get update')
10
+ os.system('apt-get -y install libgl1-mesa-glx')
11
+
12
  import cv2
13
  import network
14
  from time import time
 
32
  STROKE_NUM = 8
33
  FPS = 10
34
 
 
 
 
35
  # ---------- Logger ----------
36
  logger.add('app.log', mode='a')
37
  logger.info('===== APP RESTARTED =====')