Spaces:
Runtime error
Runtime error
File size: 750 Bytes
b18bb39 d79174d b18bb39 f4473ba b18bb39 d79174d b18bb39 |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 |
import streamlit as st
import pandas as pd
# Dashboard version variables
code_version = 'v0.0.5'
prompt_dir_version = '230208'
compatible_versions = ['0.0.5_pd230208', 'None']
dashboard_version_code = code_version+'_pd'+prompt_dir_version
# List of tasks which are automated in current version - note that each of these needs a corresponding evaluation function in Dashboard_automation_setup.py
automated_task_list = ['Multiple object types', 'Single object','Negation']
# Import the list of prompts used in current version
prompt_dir = pd.read_csv('data/Prompt_dir_{0}.csv'.format(prompt_dir_version))
# Create sidebar information
def sidebar_information():
st.sidebar.image('assets/IL_Logo.png')
st.sidebar.text(dashboard_version_code) |