Spaces:
Runtime error
Runtime error
Kunaal Naik
commited on
Commit
·
53de442
1
Parent(s):
769272f
Update app.py
Browse files
app.py
CHANGED
|
@@ -18,7 +18,7 @@ The Questions (answer each QUESTION 3 times in listicle format according to the
|
|
| 18 |
"
|
| 19 |
|
| 20 |
|
| 21 |
-
st.title("Marketing
|
| 22 |
|
| 23 |
prompt = PromptTemplate(
|
| 24 |
input_variables = ["target_audience", "target_course"],
|
|
@@ -31,8 +31,8 @@ chain = LLMChain(llm=OpenAI(), prompt=prompt)
|
|
| 31 |
#my_course = "Zero to Hero in PowerBI"
|
| 32 |
|
| 33 |
# Use the sidebar for input
|
| 34 |
-
target_audience = st.sidebar.text_input(
|
| 35 |
-
|
| 36 |
|
| 37 |
if st.sidebar.button("Get response"):
|
| 38 |
if target_audience and my_course:
|
|
|
|
| 18 |
"
|
| 19 |
|
| 20 |
|
| 21 |
+
st.title("Marketing Technology")
|
| 22 |
|
| 23 |
prompt = PromptTemplate(
|
| 24 |
input_variables = ["target_audience", "target_course"],
|
|
|
|
| 31 |
#my_course = "Zero to Hero in PowerBI"
|
| 32 |
|
| 33 |
# Use the sidebar for input
|
| 34 |
+
target_audience = st.sidebar.text_input('Enter your target audience', value = 'professionals looking for course on Power BI')
|
| 35 |
+
target_course = st.sidebar.text_input('Enter your course name', value = 'Zero to Hero in PowerBI')
|
| 36 |
|
| 37 |
if st.sidebar.button("Get response"):
|
| 38 |
if target_audience and my_course:
|