the shared tmux session is /tmp/shared. The following command will attach the session.
tmux -S /tmp/shared attach
please use this shared session, so the rest of us can see it.
you can detach the session by ``
import chromadb | |
client = chromadb.Client() | |
collection = client.create_collection(name="fruits") | |
collection.add( | |
embeddings=[[1.25, 0.3, 0.4], [0.30, 0.5, 0.05], [1.00, 0.35, 0.5]], | |
documents=["apples", "bananas", "strawberries"], | |
metadatas=[{"store":"wholefoods"}, {"store":"traders joes"}, {"store": "wholefoods"}], | |
ids=["a", "b", "s"] |
save_memory = False | |
image_file = 'C:\\Users\\yasushi\\shibuya.png' | |
save_dir = 'C:\\Users\\yasushi\\images' | |
repo_dir = 'C:\\Users\\yasushi\\code\\ControlNet' | |
a_prompt = 'city, birds eye view, best quality, insane details' | |
n_prompt = 'longbody, lowres, extra digit, fewer digits, cropped, low quality, worst quality' | |
# num_samples = gr.Slider(label="Images", minimum=1, maximum=12, value=1, step=1) | |
num_samples = 1 | |
# image_resolution = gr.Slider(label="Image Resolution", minimum=256, maximum=768, value=512, step=64) | |
image_resolution = 512 |
import cv2 | |
from cv2 import dnn_superres | |
import argparse | |
parser = argparse.ArgumentParser() | |
parser.add_argument('--in_dir', help='where is the images?') | |
parser.add_argument('--out_dir', help='where should I save the images?') | |
parser.add_argument('--num', help='id'); | |
if __name__ == "__main__": |
t.prefs_.set('color-palette-overrides',["#2e3440", "#3b4252", "#434c5e", "#4c556a", "#d8dee9", "#e5e9f0", "#eceff4", "#8fbcbb", "#88c0d0", "#81a1c1", "#5e81ac", "#bf616a", "#d08770", "#ebdb8b", "#a3be8c", "#b48ead"]); | |
t.prefs_.set('foreground-color', "#eceff4"); | |
t.prefs_.set('background-color', "#2e3340"); | |
t.prefs_.set('cursor-color', "#e5e9f0"); |
import location | |
import console | |
import ui | |
import time | |
from datetime import datetime | |
running = True | |
interval = 5 #sec | |
import rhinoscriptsyntax as rs | |
import Rhino.Geometry.Point3d as Point | |
import json | |
# creates network from curves | |
# curves that are not ```Line```s will be divided | |
CURVE_DIVISION = 4 | |
# points that are separted less then this value will | |
# be treated as one point |
Verifying my Blockstack ID is secured with the address 1AHVq1CPaXyZydvRMNY6S9yNLRimCR4uTv https://explorer.blockstack.org/address/1AHVq1CPaXyZydvRMNY6S9yNLRimCR4uTv |