Update streamlit_app.py
Browse files- streamlit_app.py +30 -1
streamlit_app.py
CHANGED
|
@@ -181,4 +181,33 @@ if not st.session_state.recording and st.session_state.video_path and os.path.ex
|
|
| 181 |
st.download_button(label="⬇️ Download MP4", data=f, file_name=f"tiktok_{st.session_state.username}.mp4", mime="video/mp4", use_container_width=True)
|
| 182 |
|
| 183 |
st.divider()
|
| 184 |
-
st.markdown("**⚠️ Notes:** Recordings are temporary. User must be LIVE. Respect creators' rights.")
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 181 |
st.download_button(label="⬇️ Download MP4", data=f, file_name=f"tiktok_{st.session_state.username}.mp4", mime="video/mp4", use_container_width=True)
|
| 182 |
|
| 183 |
st.divider()
|
| 184 |
+
st.markdown("**⚠️ Notes:** Recordings are temporary. User must be LIVE. Respect creators' rights.")
|
| 185 |
+
|
| 186 |
+
with st.sidebar:
|
| 187 |
+
st.markdown("### ℹ️ Info")
|
| 188 |
+
st.write("**Streamlit:** 1.57.0 (Latest)")
|
| 189 |
+
st.write("**TikTokLive:** 6.3.0")
|
| 190 |
+
st.info("Enter Telegram credentials after recording to upload")
|
| 191 |
+
|
| 192 |
+
with st.expander("📖 How to Setup Telegram"):
|
| 193 |
+
st.markdown("""
|
| 194 |
+
### Step 1: Create Bot
|
| 195 |
+
1. Open Telegram
|
| 196 |
+
2. Search @BotFather
|
| 197 |
+
3. Send /newbot
|
| 198 |
+
4. Save the Token
|
| 199 |
+
|
| 200 |
+
### Step 2: Create Channel
|
| 201 |
+
1. New Channel in Telegram
|
| 202 |
+
2. Add your bot as Admin
|
| 203 |
+
|
| 204 |
+
### Step 3: Get Chat ID
|
| 205 |
+
1. Search @getmyid_bot
|
| 206 |
+
2. Send any message
|
| 207 |
+
3. Copy Current Chat ID
|
| 208 |
+
|
| 209 |
+
### File Size Limits
|
| 210 |
+
- Free: 2 GB per file
|
| 211 |
+
- Premium: 4 GB per file
|
| 212 |
+
- Storage: Unlimited
|
| 213 |
+
""")
|