Spaces:
Sleeping
Sleeping
Update app.py
Browse files43 unmodified lines444546474849505152535455565758596043 unmodified lines#akldnaslkdnmllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllll# Notları yükleme ve işleme işlemleri (Butona basıldıysa çalışır)if not st.session_state.show_images:if input_method == "Dosya Yükle" and uploaded_file is None:st.error("Lütfen bir dosya yükleyin!")elif input_method == "Kopyala-Yapıştır" and not text_input:st.error("Lütfen notları metin kutusuna yapıştırın!")else:try:# Dosya veya metin kutusundan içerik okumaif uploaded_file:content = uploaded_file.read().decode("utf-8")elif text_input:content = text_input# Veriyi işlemecontent = content.strip()43 unmodified lines444546474849505152535443 unmodified lines#akldnaslkdnmllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllll# Notları yükleme ve işleme işlemleri (Butona basıldıysa çalışır)if not st.session_state.show_images:if not text_input:st.error("Lütfen notları metin kutusuna yapıştırın!")else:try:content = text_input# Veriyi işlemecontent = content.strip()
app.py+2-8