Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
@@ -5,7 +5,8 @@ import numpy as np
|
|
5 |
from itertools import product
|
6 |
import torch.nn as nn
|
7 |
import matplotlib.pyplot as plt
|
8 |
-
import matplotlib.colors as mcolors
|
|
|
9 |
import io
|
10 |
from io import BytesIO # Import io then BytesIO
|
11 |
from PIL import Image, ImageDraw, ImageFont
|
|
|
5 |
from itertools import product
|
6 |
import torch.nn as nn
|
7 |
import matplotlib.pyplot as plt
|
8 |
+
import matplotlib.colors as mcolors
|
9 |
+
from matplotlib.colors import LinearSegmentedColormap
|
10 |
import io
|
11 |
from io import BytesIO # Import io then BytesIO
|
12 |
from PIL import Image, ImageDraw, ImageFont
|