Skip to content

Instantly share code, notes, and snippets.

View asehmi's full-sized avatar

Arvindra Sehmi asehmi

View GitHub Profile
@asehmi
asehmi / semantic-search-inference-ml4hc.ipynb
Created January 23, 2024 07:43 — forked from pszemraj/semantic-search-inference-ml4hc.ipynb
semantic search inference - ml4hc.ipynb
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@asehmi
asehmi / v-diffusion-art.ipynb
Created January 23, 2024 07:44 — forked from pszemraj/v-diffusion-art.ipynb
v-diffusion-art
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@asehmi
asehmi / topic-models-v4.ipynb
Created January 23, 2024 07:45 — forked from pszemraj/topic-models-v4.ipynb
Topic Models - v4.ipynb
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@asehmi
asehmi / st_fixed_container.py
Created April 1, 2024 16:19 — forked from toolittlecakes/st_fixed_container.py
Sticky/fixed container for streamlit apps. Supports dynamic width change as well as dynamic color updates. Both top/bottom positions are available.
from typing import Literal
import streamlit as st
from streamlit.components.v1 import html
FIXED_CONTAINER_CSS = """
div[data-testid="stVerticalBlockBorderWrapper"]:has(div.fixed-container-{id}):not(:has(div.not-fixed-container)) {{
position: {mode};
width: inherit;