Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -18,7 +18,7 @@ def getLLamaresponse(input_text,no_words,blog_style):
|
|
18 |
## Prompt Template
|
19 |
|
20 |
template="""
|
21 |
-
Write a blog for {blog_style}
|
22 |
within {no_words} words.
|
23 |
"""
|
24 |
|
@@ -52,7 +52,7 @@ with col1:
|
|
52 |
no_words=st.text_input('No of Words')
|
53 |
with col2:
|
54 |
blog_style=st.selectbox('Writing the blog for',
|
55 |
-
('Researchers','Data Scientist','Common People'),index=0)
|
56 |
|
57 |
submit=st.button("Generate")
|
58 |
|
|
|
18 |
## Prompt Template
|
19 |
|
20 |
template="""
|
21 |
+
Write a blog for {blog_style} profile for a topic {input_text}
|
22 |
within {no_words} words.
|
23 |
"""
|
24 |
|
|
|
52 |
no_words=st.text_input('No of Words')
|
53 |
with col2:
|
54 |
blog_style=st.selectbox('Writing the blog for',
|
55 |
+
('Kids - 5 Year olds','Grad Students','Researchers','Data Scientist','Common People',),index=0)
|
56 |
|
57 |
submit=st.button("Generate")
|
58 |
|