This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import openai | |
import streamlit as st | |
from streamlit_chat import message | |
from dotenv import load_dotenv | |
import os | |
from langchain.embeddings.openai import OpenAIEmbeddings | |
from langchain.vectorstores import Chroma | |
import openai | |
from langchain.document_loaders import UnstructuredMarkdownLoader | |
from langchain.chains.question_answering import load_qa_chain |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import openai | |
import streamlit as st | |
from streamlit_chat import message | |
from dotenv import load_dotenv | |
import os | |
from langchain.embeddings.openai import OpenAIEmbeddings | |
from langchain.vectorstores import Chroma | |
import openai | |
from langchain.document_loaders import UnstructuredMarkdownLoader | |
from langchain.chains.question_answering import load_qa_chain |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import openai | |
import streamlit as st | |
from streamlit_chat import message | |
from dotenv import load_dotenv | |
import os | |
from langchain.embeddings.openai import OpenAIEmbeddings | |
from langchain.vectorstores import Chroma | |
import openai | |
from langchain.document_loaders import UnstructuredMarkdownLoader | |
from langchain.chains.question_answering import load_qa_chain |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{% extends "web/app/app_base.html" %} {% load static %} {% block app %} | |
<script src="{% static 'js/loomhq/record-sdk/dist/cjs/index.js' %}"></script> | |
<script src="{% static 'js/loomhq/loom-embed/dist/cjs/index.js' %}"></script> | |
<div id="app"> | |
<label ref="targetDiv" id='loom_is_ready' class='hidden'></label> | |
<label class="hidden" id="script1-url"></label> | |
<label class="hidden" id="script2-url"></label> | |
<span class="indicator-item badge">Record your Scripts!</span> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
from moviepy.editor import VideoFileClip, ImageClip, CompositeVideoClip | |
import moviepy.video.fx.all as vfx | |
import os | |
import mux_python | |
from mux_python.rest import ApiException | |
import requests | |
import uuid | |
from moviepy.editor import * | |
from moviepy.video.compositing.concatenate import concatenate_videoclips | |
from time import sleep |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
from moviepy.editor import VideoFileClip, ImageClip, CompositeVideoClip | |
import moviepy.video.fx.all as vfx | |
import os | |
import mux_python | |
from mux_python.rest import ApiException | |
import requests | |
import uuid | |
from moviepy.editor import * | |
from moviepy.video.compositing.concatenate import concatenate_videoclips | |
from time import sleep |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{% extends "web/app/app_base.html" %} {% load static %} {% block app %} | |
<span class="indicator-item badge">Coming soon!</span> | |
<p class="text-xl font-bold">History</p> | |
<p class="text-sm">History of everything that you've generated.</p> | |
<div id='app'> | |
</div> | |
<div id='target'> </div> | |
<script |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
private_key = b"""-----BEGIN PRIVATE KEY----- | |
MIIEwAIBADANBgkqhkiG9w0BAQEFAASCBKowggSmAgEAAoIBAQDsNJNiYfRbeNYE | |
HROtO0N/RetfgUkpRcUJDVnMctodZw5/Jw/uPH0U7m47Gt31vnudaxFn4TKWrCnp | |
yDuSRklsN8dYflr85E+MKTIQsWMU3U2A+neWMY+lcpw+vvMUFwi44ZzljHSu7s97 | |
YC+oCjXSAmZeebA02PN2EtdkrsxuneWTKg52Zx8ESkFSpd8bKF3SyujncDKY9DSY | |
JUGMI50UWKBZ7NdGzcMxjJsmDcCe+szfTzg4KfXW1/pzlMJ2n7m3ItNN84bPqlcc | |
xaEiBM00vxiDCOawro5JaVsv+oDh3bk5L2v09+ThyMr47CtOHtsY1aWMQPv2iEpG | |
WZZqUhMfAgMBAAECggEBAIGTlgaylcpYT4+SI+k0SaLYSHbsBaaOj7iXiluN5fmb | |
P2ihlSusIzIIWpAx/PGCvW1t/u5tq8LcT2HgZk2oIT8smj8BkgiJdtn8/2oI5cHc | |
ZVgMDu5l4ddxOCVzuwWaXT6PBfMnShttBoU4DuywLTY3+tB5ESDsoyJy05Z4Dc3f |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
const data = [ | |
{ | |
"title": "Pursuit of Happiness", | |
"url": "'https://open.spotify.com/playlist/7yQ3GVCouadKTLOF3PgRPT?si=R5SCMESaSaWvnCu8F8t9vg", | |
"desc": "Happiness songs", | |
"date": "Dec 21 2019" | |
}, | |
{ | |
"title": "Hottest track from the 1970s!", | |
"url": "https://open.spotify.com/user/jimstella42/playlist/6I6g9yQiWATQ0aWicxIE4N?si=ih2PSSwhQb2I-puvqLKmJQ", |