Spaces:
Sleeping
Sleeping
File size: 570 Bytes
2e347d7 afb05d3 bbb68c0 2e347d7 842f1a9 2e347d7 |
1 2 3 4 5 6 7 8 9 10 11 |
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) |