taarhissian commited on
Commit
8a91614
·
verified ·
1 Parent(s): a2e494e

Update pages/marketplace.py

Browse files
Files changed (1) hide show
  1. pages/marketplace.py +9 -0
pages/marketplace.py CHANGED
@@ -0,0 +1,9 @@
 
 
 
 
 
 
 
 
 
 
1
+ import streamlit as st
2
+ from agents.marketplace_agent import marketplace_agent
3
+
4
+ def show():
5
+ st.title("Marketplace")
6
+ search_query = st.text_input("Search for a crop")
7
+ if st.button("Search"):
8
+ response = marketplace_agent.chat(search_query)
9
+ st.write(response)