File size: 491 Bytes
5fbe292
 
 
ae1c1e0
491b4be
 
 
 
 
a746169
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
import streamlit as st
from transformers import pipeline

st.title("Assalomu alaykum")
uploaded_files = st.file_uploader("Choose a CSV file", accept_multiple_files=True)
for uploaded_file in uploaded_files:
    bytes_data = uploaded_file.read()
    st.write("filename:", uploaded_file.name)
    st.write(bytes_data)

from qrtools import QR 
my_QR = QR(filename = uploaded_files) 
# decodes the QR code and returns True if successful 
my_QR.decode() 
# prints the data 
st.write(my_QR.data)