alikayh commited on
Commit
2e347d7
·
verified ·
1 Parent(s): f9a1bb8

Create app.py

Browse files
Files changed (1) hide show
  1. app.py +9 -0
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)