Spaces:
Sleeping
Sleeping
SreedeviBDP
commited on
Commit
•
be5b749
1
Parent(s):
2eb89a4
Update app.py
Browse files
app.py
CHANGED
@@ -7,7 +7,7 @@ import streamlit as st
|
|
7 |
load_dotenv()
|
8 |
|
9 |
def get_blogcontent_response(topic):
|
10 |
-
llm = LlamaAPI(model="llama-
|
11 |
resp = llm.complete(f"use this phrase {topic} identify the top 5 keywords, search queries with rank high on Google search and Extract five keywords from the list in the format of keyword1,keyword2,keyword3,keyword4,keyword5")
|
12 |
print(resp.text)
|
13 |
format = """Title:
|
|
|
7 |
load_dotenv()
|
8 |
|
9 |
def get_blogcontent_response(topic):
|
10 |
+
llm = LlamaAPI(model="llama-70b-chat",api_key=os.environ["LLAMA_API_Key"])
|
11 |
resp = llm.complete(f"use this phrase {topic} identify the top 5 keywords, search queries with rank high on Google search and Extract five keywords from the list in the format of keyword1,keyword2,keyword3,keyword4,keyword5")
|
12 |
print(resp.text)
|
13 |
format = """Title:
|