Skip to content

Instantly share code, notes, and snippets.

@oguzhari
Created September 15, 2022 18:33
Show Gist options
  • Select an option

  • Save oguzhari/d4e7648cae6a441f06844cd66baed44f to your computer and use it in GitHub Desktop.

Select an option

Save oguzhari/d4e7648cae6a441f06844cd66baed44f to your computer and use it in GitHub Desktop.
import streamlit as st
from utils import *
st.title("CSV İşleme Uygulaması")
uploaded_files = st.file_uploader("CSV Dosyasını Seçiniz", type="csv")
if st.button("Dosyayı Yükle ve Analiz Et"):
create_user_log_file()
if uploaded_files:
save_to_log('INFO', 'Dosya yükleme işlemi başlatıldı.')
dataframe = pd.read_csv(uploaded_files, header=0)
result = process_csv(dataframe)
st.success(f"Sonuç: {result}")
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment