Skip to content

Instantly share code, notes, and snippets.

View straussmaximilian's full-sized avatar

Maximilian Strauss straussmaximilian

  • University of Copenhagen | Max Planck Institute
  • Copenhagen
View GitHub Profile
import streamlit as st
from PIL import Image
import os
import random
state = st.session_state
BASE_PATH = "./DICE_IMAGES_100/"
OPTIONS = ["1", "2", "3", "4", "5", "6", "NA"]
import pandas as pd
import re
from collections import Counter
import spacy
from tqdm import tqdm as tqdm
from urllib.parse import urlparse
import matplotlib.pyplot as plt
# if en_core_web_sm is not installed
# !python -m spacy download en_core_web_sm