Skip to content

UI code for Marketing Campaign App has bug described below #4

@sweanan

Description

@sweanan

BUG:

Reproduce steps:

/LangChain-MasterClass---Build-15-OpenAI-and-LLAMA-2-LLM-Apps-using-Python/S09 - Project 4 - Marketing Campaign App/Marketing Campaign App - Project Source Code/Project 4 - Final Code/app.py

when running the above code for option "Senior Citizen", the UI fails with the below error as it has TYPO for 'senior Citizen' ---> 'Senior Citizen'

File "LangChain-MasterClass---Build-15-OpenAI-and-LLAMA-2-LLM-Apps-using-Python/.venv/lib/python3.10/site-packages/streamlit/runtime/scriptrunner/script_runner.py", line 535, in _run_script exec(code, module.__dict__) File "LangChain-MasterClass---Build-15-OpenAI-and-LLAMA-2-LLM-Apps-using-Python/S09 - Project 4 - Marketing Campaign App/Marketing Campaign App - Project Source Code/Project 4 - Final Code/app.py", line 158, in <module> st.write(getLLMResponse(form_input,age_option,tasktype_option)) File "LangChain-MasterClass---Build-15-OpenAI-and-LLAMA-2-LLM-Apps-using-Python/S09 - Project 4 - Marketing Campaign App/Marketing Campaign App - Project Source Code/Project 4 - Final Code/app.py", line 113, in getLLMResponse examples=examples,

PR Created to fix the above issue

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions