Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -4,13 +4,15 @@ from dataclasses import dataclass, field
|
|
| 4 |
from typing import List, Optional, Dict
|
| 5 |
from PIL import Image
|
| 6 |
|
|
|
|
|
|
|
|
|
|
| 7 |
import re, textwrap, html as py_html
|
| 8 |
from pathlib import Path
|
| 9 |
from streamlit.components.v1 import html as st_html
|
| 10 |
|
| 11 |
import numpy as np
|
| 12 |
import pandas as pd
|
| 13 |
-
import streamlit as st
|
| 14 |
from fsspec.implementations.local import LocalFileSystem
|
| 15 |
from huggingface_hub import HfFileSystem
|
| 16 |
|
|
@@ -819,9 +821,9 @@ def prep_and_save_data(index, skip_sample):
|
|
| 819 |
|
| 820 |
save_data(payload)
|
| 821 |
|
| 822 |
-
st.set_page_config(layout='wide')
|
| 823 |
# Title of the app
|
| 824 |
-
st.title("Therapy Session Annotation Task")
|
| 825 |
|
| 826 |
st.markdown(
|
| 827 |
"""<style>
|
|
|
|
| 4 |
from typing import List, Optional, Dict
|
| 5 |
from PIL import Image
|
| 6 |
|
| 7 |
+
import streamlit as st
|
| 8 |
+
st.set_page_config(layout="wide", page_title="Therapy Session Annotation", initial_sidebar_state="collapsed")
|
| 9 |
+
|
| 10 |
import re, textwrap, html as py_html
|
| 11 |
from pathlib import Path
|
| 12 |
from streamlit.components.v1 import html as st_html
|
| 13 |
|
| 14 |
import numpy as np
|
| 15 |
import pandas as pd
|
|
|
|
| 16 |
from fsspec.implementations.local import LocalFileSystem
|
| 17 |
from huggingface_hub import HfFileSystem
|
| 18 |
|
|
|
|
| 821 |
|
| 822 |
save_data(payload)
|
| 823 |
|
| 824 |
+
#st.set_page_config(layout='wide')
|
| 825 |
# Title of the app
|
| 826 |
+
#st.title("Therapy Session Annotation Task")
|
| 827 |
|
| 828 |
st.markdown(
|
| 829 |
"""<style>
|