mirror of
https://github.com/tcsenpai/multi1.git
synced 2025-06-08 12:05:21 +00:00
heading changed
This commit is contained in:
parent
d35fb9fe71
commit
6e15dff402
@ -24,8 +24,7 @@ def setup_page():
|
|||||||
""", unsafe_allow_html=True)
|
""", unsafe_allow_html=True)
|
||||||
st.markdown("""
|
st.markdown("""
|
||||||
<p class="main-description">
|
<p class="main-description">
|
||||||
This app demonstrates AI reasoning chains using different backends: Ollama, Perplexity AI, and Groq.
|
This app demonstrates AI reasoning chains. Enter your query to see the step-by-step reasoning process.
|
||||||
Choose a backend and enter your query to see the step-by-step reasoning process.
|
|
||||||
</p>
|
</p>
|
||||||
""", unsafe_allow_html=True)
|
""", unsafe_allow_html=True)
|
||||||
|
|
||||||
@ -42,8 +41,9 @@ def main():
|
|||||||
api_handler = get_api_handler(model=config.model, api_key=config.api_key)
|
api_handler = get_api_handler(model=config.model, api_key=config.api_key)
|
||||||
|
|
||||||
user_query = st.text_input("💬 Enter your query:", placeholder="e.g., How many 'R's are in the word strawberry?")
|
user_query = st.text_input("💬 Enter your query:", placeholder="e.g., How many 'R's are in the word strawberry?")
|
||||||
|
submit = st.button('Think')
|
||||||
|
|
||||||
if user_query:
|
if submit and user_query:
|
||||||
logger.info(f"Received user query: {user_query}")
|
logger.info(f"Received user query: {user_query}")
|
||||||
st.write("🔍 Generating response...")
|
st.write("🔍 Generating response...")
|
||||||
response_container = st.empty()
|
response_container = st.empty()
|
||||||
|
Loading…
x
Reference in New Issue
Block a user