Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -88,18 +88,4 @@ if st.button("Dijital Kartvizit Oluşturun"):
|
|
88 |
mime="image/png"
|
89 |
)
|
90 |
|
91 |
-
# Convert the name to Latin characters using the unidecode function
|
92 |
-
file_name = unidecode(name)
|
93 |
|
94 |
-
# Make the file name all lowercase
|
95 |
-
file_name = file_name.lower()
|
96 |
-
|
97 |
-
# Replace any spaces with underscores
|
98 |
-
file_name = file_name.replace(' ', '_')
|
99 |
-
|
100 |
-
# Add the .png extension to the file name
|
101 |
-
file_name = f'{file_name}_vcard.png'
|
102 |
-
|
103 |
-
# Save the QR code image to a file
|
104 |
-
#with open(file_name, 'wb') as f:
|
105 |
-
#img.save(f)
|
|
|
88 |
mime="image/png"
|
89 |
)
|
90 |
|
|
|
|
|
91 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|