MCPcopy Create free account
hub / github.com/codingis4noobs2/QuickDigest / home

Function home

app.py:14–79  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

12
13# Defining the function to display the home page
14def home():
15 import streamlit as st
16 from streamlit_extras.badges import badge
17 from streamlit_extras.colored_header import colored_header
18 from streamlit_extras.let_it_rain import rain
19
20 # Displaying a rain animation with specified parameters
21 rain(
22 emoji="🎈",
23 font_size=54,
24 falling_speed=5,
25 animation_length="1",
26 )
27
28 # Displaying a colored header with specified parameters
29 colored_header(
30 label="QuickDigest AI🧠, Your Intelligent Data Companion",
31 description="~ Powered by OpenAI, Llamaindex, AssemblyAI, Langchain, Replicate, Clipdrop",
32 color_name="violet-70",
33 )
34
35 # Displaying information and warnings in the sidebar
36 st.sidebar.info(
37 "Visit [OpenAI Pricing](https://openai.com/pricing#language-models) to get an overview of costs incurring depending upon the model chosen."
38 )
39 st.sidebar.info(
40 "For key & data privacy concerns, We do not store your Key, it will be removed after your session ends. Also OpenAI will not use data submitted by customers via our API to train or improve our models, unless you explicitly decide to share your data with us for this purpose, For more info please visit [OpenAI FAQs](https://help.openai.com/en/articles/7039943-data-usage-for-consumer-services-faq)."
41 )
42 st.sidebar.warning(
43 "LLMs may produce inaccurate information about people, places, or facts. Don't entirely trust them."
44 )
45
46 # Displaying markdown text on the page
47 st.markdown(
48 "<h6>Discover a new horizon of data interaction with QuickDigest AI, your intelligent companion in navigating through diverse data formats. QuickDigest AI is meticulously crafted to simplify and enrich your engagement with data, ensuring a seamless flow of insights right at your fingertips.</h6>",
49 unsafe_allow_html=True
50 )
51 st.markdown(
52 "**Effortless Data Extraction and Interaction:** QuickDigest AI stands as a beacon of innovation, allowing users to upload and interact with a variety of file formats including PDFs, Word documents, text files, and even audio/video files. The platform's cutting-edge technology ensures a smooth extraction of data, paving the way for meaningful conversations with the information gleaned from these files."
53 )
54 st.markdown(
55 "**Engage with your Datasets:** Dive into datasets like never before. QuickDigest AI invites you to upload your dataset and engage in a dialogue with it. Our advanced AI algorithms facilitate a conversational interaction with your dataset, making the extraction of insights an intuitive and enriching experience."
56 )
57 st.markdown(
58 "**Real-Time Web Search:** One of the limitations of large language models is there limited knowledge. QuickDigest AI's real-time web search feature ensures you're always ahead with the latest information. Be it market trends, news updates, or the newest research findings, QuickDigest AI brings the world to you in real-time."
59 )
60 st.markdown(
61 "**Ignite Your Creative Spark:** For product creators, QuickDigest AI unveils a realm of possibilities. Bored of simple product images, The Product Advertising Image Creator is your tool to craft captivating advertising images that resonate with your audience. Additionally, the Image Generator feature is your canvas to bring your creative visions to life, creating visually appealing images that speak volumes."
62 )
63
64 st.markdown("---")
65
66 # Displaying a support section with badges and link button
67 st.markdown("<h5>Support Us</h5>", unsafe_allow_html=True)
68 col1, col2, col3, col4 = st.columns(4)
69 with col1:
70 st.write("Star this repository on Github")
71 badge(type="github", name="codingis4noobs2/QuickDigest")

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected