alikayh commited on
Commit
8a18440
·
verified ·
1 Parent(s): dbaa4ba

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -1
app.py CHANGED
@@ -5,11 +5,12 @@ import google.generativeai as genai
5
  API = "AIzaSyBOOuFWwlywK77pLGg82li1m1mkNgeyQz4"
6
  genai.configure(api_key=API)
7
  st.title("Content With Seo Generator")
 
8
  content = st.text_input("Please Enter Your prompt to make content via seo")
9
  model = genai.GenerativeModel("gemini-2.0-flash-exp")
10
  but = st.button("Lets Go")
11
  if content is not None and but:
12
- response = model.generate_content([content, "برای این متنی که داده شده یک محتوا یا مقاله سئو سازی شده بنویس"])
13
  st.markdown(response.text)
14
  else:
15
  st.warning("متنی وارد نشده یا اشتباه واردش شده است.")
 
5
  API = "AIzaSyBOOuFWwlywK77pLGg82li1m1mkNgeyQz4"
6
  genai.configure(api_key=API)
7
  st.title("Content With Seo Generator")
8
+ st.info("Developed by Alikay_h --> github.com/kayhgng")
9
  content = st.text_input("Please Enter Your prompt to make content via seo")
10
  model = genai.GenerativeModel("gemini-2.0-flash-exp")
11
  but = st.button("Lets Go")
12
  if content is not None and but:
13
+ response = model.generate_content([content, "خودت رو بعنوان یک متخصص سئو تصمور کن و طبق این متنی که بهت داده شده یک مقاله فوق العاده خوب و سئو سازی شده بنویس و کلمات کلیدی مقاله رو بنویس"])
14
  st.markdown(response.text)
15
  else:
16
  st.warning("متنی وارد نشده یا اشتباه واردش شده است.")