Spaces:
Sleeping
Sleeping
import os | |
import re | |
import json | |
import datetime | |
import itertools | |
import requests | |
from PIL import Image | |
import base64 | |
import streamlit as st | |
def page(): | |
record = st.session_state.get("selected_record") | |
st.set_page_config( | |
page_title=f"Record {record['filename']}", | |
page_icon="π¨ββοΈ", | |
layout="wide", | |
initial_sidebar_state="collapsed", | |
) | |
st.button("Back", on_click=lambda: set_record(None)) | |
st.write(record) |