aliicemill commited on
Commit
94ccffd
·
verified ·
1 Parent(s): 90175a5

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +11 -8
app.py CHANGED
@@ -64,19 +64,22 @@ image_files = [f"{image_folder}/{ch}.png" for ch in ['a', 'b', 'c', 'd', 'e', 'f
64
  # Başlık
65
  st.title(title_text)
66
 
67
- # Açıklama Resimleri
68
- st.subheader(subheader_text)
69
 
70
- # Resimleri alt alta ekle
71
- for image_file in image_files:
72
- if os.path.exists(image_file):
73
- st.image(image_file, use_container_width=True) # Yeni parametre kullanıldı
 
 
 
74
 
75
  # Kullanıcıdan veri alma (Sidebar sabit kalıyor)
76
- st.sidebar.header("Girdi Alanları")
77
 
78
  # Dosya yükleme veya metin girişi seçimi
79
- input_method = st.sidebar.radio("Notları nasıl gireceksiniz?", options=["Dosya Yükle", "Kopyala-Yapıştır"])
80
 
81
  uploaded_file = None
82
  text_input = None
 
64
  # Başlık
65
  st.title(title_text)
66
 
67
+ # Açıklama ve Görselleri Gösterme (butona basılmadan önce)
68
+ show_intro = st.checkbox("Uygulamanın Çalışma Prensibi", value=True)
69
 
70
+ if show_intro:
71
+ st.subheader(subheader_text)
72
+
73
+ # Resimleri alt alta ekle
74
+ for image_file in image_files:
75
+ if os.path.exists(image_file):
76
+ st.image(image_file, use_container_width=True) # Yeni parametre kullanıldı
77
 
78
  # Kullanıcıdan veri alma (Sidebar sabit kalıyor)
79
+ st.sidebar.header(participant_text) # SideBar dil duyarlılığı eklendi
80
 
81
  # Dosya yükleme veya metin girişi seçimi
82
+ input_method = st.sidebar.radio("Notları nasıl gireceksiniz?", options=[error_message, "Kopyala-Yapıştır"])
83
 
84
  uploaded_file = None
85
  text_input = None