-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathinstagram.py
27 lines (25 loc) · 897 Bytes
/
instagram.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
import streamlit as st
import time
col1, col2 = st.columns([1,8])
with col1:
st.image("images/Picsart_24-07-27_21-40-50-295.png")
with col2:
st.header("Instagram Page Connection Tutorial")
st.info("Connect your bot to an **Instagram** profile chat")
st.caption("---")
st.write("Follow the video instructions")
st.columns([1,4,1])[1].video("Untitled video - Made with Clipchamp (1).mp4")
st.write("---")
if st.session_state.questions == 0:
st.info("No bot have found!")
else:
link = st.text_input("The Page Link")
# bt = st.button("Connect")
if st.button("Connect"):
if link == "":
st.error("Enter the link!")
else:
with st.spinner():
time.sleep(5)
st.session_state.connected.append({"type": "instagram", "link": link})
st.success("Connected successfully")