File size: 629 Bytes
435df33
 
 
 
 
 
9633091
 
 
435df33
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
import streamlit as st
import pandas as pd

st.title("Frigce, Göktürkçe ve Hititçe CSV Görüntüleme")

file_options = {
    "Frigce": "./phrygian.csv",
    "Göktürkçe": "./old_turkish.csv",
    "Hititçe": "./hittite.csv",
}


selected_file = st.selectbox("Görüntülemek istediğiniz dosyayı seçin:", list(file_options.keys()))

if selected_file:
    file_path = file_options[selected_file]
    try:
        df = pd.read_csv(file_path)
        st.write(f"**{selected_file} Dosyasının İçeriği:**")
        st.dataframe(df)
    except Exception as e:
        st.error(f"Dosya yüklenirken bir hata oluştu: {e}")