Spaces:
Paused
Paused
hanoch.rahimi@gmail
commited on
Commit
·
46a784b
1
Parent(s):
a280e4d
move prompt to separate tab
Browse files
app.py
CHANGED
@@ -235,10 +235,23 @@ the report should mention the most important companies and how they compare to e
|
|
235 |
- compare them to each other and point out what they do differently or what is their unique selling proposition
|
236 |
----"""
|
237 |
|
238 |
-
|
239 |
-
|
240 |
-
|
241 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
242 |
|
243 |
if query != "":
|
244 |
run_query(query, prompt, scrape_boost, top_k, region_selectbox, countries_selectbox)
|
|
|
235 |
- compare them to each other and point out what they do differently or what is their unique selling proposition
|
236 |
----"""
|
237 |
|
238 |
+
st.markdown(
|
239 |
+
f'''
|
240 |
+
<style>
|
241 |
+
.sidebar .sidebar-content {{
|
242 |
+
width: 375px;
|
243 |
+
}}
|
244 |
+
</style>
|
245 |
+
''',
|
246 |
+
unsafe_allow_html=True
|
247 |
+
)
|
248 |
+
tab_search, tab_advanced = st.tabs(["Search", "Advanced"])
|
249 |
+
|
250 |
+
with tab_advanced:
|
251 |
+
prompt = st.text_area("Prompt", value=default_prompt, height=400)
|
252 |
+
|
253 |
+
with tab_search:
|
254 |
+
query = st.text_input("Search!", "")
|
255 |
|
256 |
if query != "":
|
257 |
run_query(query, prompt, scrape_boost, top_k, region_selectbox, countries_selectbox)
|