Spaces:
Sleeping
Sleeping
Update pages/marketplace.py
Browse files- 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)
|