forked from hbahuguna/pdf-analyze-streamlit
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathhome.py
60 lines (49 loc) · 1.59 KB
/
home.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
import streamlit as st
st.set_page_config(page_title='Chat with multiple Data Sources️', page_icon='📕')
body = f"""
<div style="
top: 10;
text-align: left;
">
<p><a href='/chat_with_pdf_txt_file'>Chat With PDF & TXT Files</a></p>
<p><a href='/chat_with_website'>Chat With Webpage </a></p>
<p><a href='/youtube_transcript_to_article'>Create Article from Youtube Video</a></p>
<p><a href='/chat_with_youtube_videos'>Chat With Youtube Video</a></p>
<p><a href='/translator'>Translate English Text to another Language</a></p>
<p><a href='/chat_with_website'>Chat With Website sitemap xml Data</a></p>
</div>
"""
st.markdown("<h1 style='text-align: center; color: red;'>OmniChat</h1>", unsafe_allow_html=True)
st.markdown("<h1 style='text-align: left; color: red;'>App to Chat with Many Data Sources</h1>", unsafe_allow_html=True)
st.markdown("\n")
st.markdown("\n")
st.markdown(body, unsafe_allow_html=True)
st.markdown("\n")
st.markdown("\n")
from PIL import Image
image = Image.open('img/logo1.png')
st.image(image)
st.markdown("\n")
st.markdown("\n")
st.markdown("\n")
st.markdown("\n")
st.markdown("\n")
st.markdown("\n")
st.markdown("\n")
st.markdown("\n")
foot = f"""
<div style="
bottom: 0;
text-align: center;
">
<p>Made by <a href='https://github.com/hbahuguna/'>Himanshu Bahuguna</a></p>
<p><a href='https://yep.so/p/omnichat'>Join OmniChat Wait list</a></p>
</div>
"""
st.markdown(foot, unsafe_allow_html=True)
st.sidebar.write("")
st.sidebar.write("")
st.sidebar.write("")
from PIL import Image
image = Image.open('img/logo1.png')
st.sidebar.image(image)