chansung commited on
Commit
7366d7f
1 Parent(s): 0970f31

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +4 -0
app.py CHANGED
@@ -1,5 +1,7 @@
1
  import gradio as gr
2
 
 
 
3
  import numpy as np
4
  import cv2
5
  from matplotlib import gridspec
@@ -8,6 +10,8 @@ import onnxruntime as ort
8
 
9
  import wget
10
 
 
 
11
  def ade_palette():
12
  """ADE20K palette that maps each class to RGB values."""
13
  return [
 
1
  import gradio as gr
2
 
3
+ import sys
4
+ import csv
5
  import numpy as np
6
  import cv2
7
  from matplotlib import gridspec
 
10
 
11
  import wget
12
 
13
+ csv.field_size_limit(sys.maxsize)
14
+
15
  def ade_palette():
16
  """ADE20K palette that maps each class to RGB values."""
17
  return [