Spaces:
Sleeping
Sleeping
Create app.py
Browse files
app.py
ADDED
@@ -0,0 +1,9 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
import streamlit as st
|
2 |
+
import google.generativeai as genai
|
3 |
+
API = "AIzaSyCnGOmzLjc0KmtlVbphefE9Y8r9w7I8UFw"
|
4 |
+
st.title("Content With Seo Generator")
|
5 |
+
content = st.text_input("Please Enter Your prompt to make content via seo")
|
6 |
+
model = genai.GenerativeModel("gemini-2.0-flash-exp")
|
7 |
+
but = st.button("Lets Go")
|
8 |
+
response = model.generate_content("[content, "برای این متنی که داده شده یک محتوا یا مقاله سئو سازی شده بنویس"]")
|
9 |
+
st.markdown(response.text)
|