Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -1,5 +1,5 @@
|
|
1 |
import streamlit as st
|
2 |
-
from barcode
|
3 |
import segno
|
4 |
import segno.helpers
|
5 |
import io
|
@@ -380,7 +380,7 @@ class QRCodeGenerator:
|
|
380 |
barcode.barcode.Barcode: The created barcode object.
|
381 |
"""
|
382 |
# Gives an error: AttributeError: module 'barcode' has no attribute 'get_barcode'
|
383 |
-
# brcd = get_barcode(name=brcode["Type"], code=brcode["Number"], writer=barcode.writer.ImageWriter())
|
384 |
# return brcd
|
385 |
pass
|
386 |
|
|
|
1 |
import streamlit as st
|
2 |
+
from barcode
|
3 |
import segno
|
4 |
import segno.helpers
|
5 |
import io
|
|
|
380 |
barcode.barcode.Barcode: The created barcode object.
|
381 |
"""
|
382 |
# Gives an error: AttributeError: module 'barcode' has no attribute 'get_barcode'
|
383 |
+
# brcd = barcode.get_barcode(name=brcode["Type"], code=brcode["Number"], writer=barcode.writer.ImageWriter())
|
384 |
# return brcd
|
385 |
pass
|
386 |
|