Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
@@ -6,7 +6,8 @@ from itertools import product
|
|
6 |
import torch.nn as nn
|
7 |
import matplotlib.pyplot as plt
|
8 |
import matplotlib.colors as mcolors
|
9 |
-
|
|
|
10 |
from PIL import Image, ImageDraw
|
11 |
from Bio.Graphics import GenomeDiagram
|
12 |
from Bio.SeqFeature import SeqFeature, FeatureLocation
|
|
|
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
|
12 |
from Bio.Graphics import GenomeDiagram
|
13 |
from Bio.SeqFeature import SeqFeature, FeatureLocation
|