Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -34,19 +34,12 @@ def run_turkish():
|
|
34 |
|
35 |
# Resimler yalnızca show_images True ise gösterilir
|
36 |
if st.session_state.show_images:
|
37 |
-
|
38 |
-
|
39 |
-
|
40 |
-
|
41 |
-
|
42 |
-
|
43 |
-
pdf_base64 = base64.b64encode(pdf_data).decode("utf-8")
|
44 |
-
|
45 |
-
# PDF'yi iframe ile gösterme
|
46 |
-
st.markdown(f'<iframe src="data:application/pdf;base64,{pdf_base64}" width="700" height="500"></iframe>', unsafe_allow_html=True)
|
47 |
-
|
48 |
-
# İndirme butonu ekleme
|
49 |
-
st.download_button("PDF İndir", data=pdf_data, file_name="NoteAnalyzerTurkish.pdf", mime="application/pdf")
|
50 |
|
51 |
#akldnaslkdnmllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllll
|
52 |
# Notları yükleme ve işleme işlemleri (Butona basıldıysa çalışır)
|
|
|
34 |
|
35 |
# Resimler yalnızca show_images True ise gösterilir
|
36 |
if st.session_state.show_images:
|
37 |
+
st.subheader("Uygulama nasıl çalışır (bilgisayardan kullanılması tavsiye edilir)")
|
38 |
+
|
39 |
+
image_files = ["turkish/a.png", "turkish/b.png", "turkish/c.png"]
|
40 |
+
|
41 |
+
for image_file in image_files:
|
42 |
+
st.image(image_file, use_container_width=True)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
43 |
|
44 |
#akldnaslkdnmllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllll
|
45 |
# Notları yükleme ve işleme işlemleri (Butona basıldıysa çalışır)
|