mohtava_seo / app.py
alikayh's picture
Update app.py
bbb68c0 verified
raw
history blame
570 Bytes
import streamlit as st
import subprocess
subprocess.run("pip install google-generativeai", shell=True)
import google.generativeai as genai
API = "AIzaSyCnGOmzLjc0KmtlVbphefE9Y8r9w7I8UFw"
st.title("Content With Seo Generator")
content = st.text_input("Please Enter Your prompt to make content via seo")
model = genai.GenerativeModel("gemini-2.0-flash-exp")
but = st.button("Lets Go")
response = model.generate_content([content, "برای این متنی که داده شده یک محتوا یا مقاله سئو سازی شده بنویس"])
st.markdown(response.text)