Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -186,7 +186,7 @@ RESPUESTA: """
|
|
186 |
with st.chat_message(message["role"]):
|
187 |
st.markdown(message["content"])
|
188 |
|
189 |
-
wrapper = DuckDuckGoSearchAPIWrapper(
|
190 |
search = DuckDuckGoSearchRun(api_wrapper=wrapper)
|
191 |
st.markdown(search.run("¿Quién es Roberto Vaquero?"))
|
192 |
if prompt := st.chat_input("¡Pregunta lo que quieras!"):
|
|
|
186 |
with st.chat_message(message["role"]):
|
187 |
st.markdown(message["content"])
|
188 |
|
189 |
+
wrapper = DuckDuckGoSearchAPIWrapper(max_results=10)
|
190 |
search = DuckDuckGoSearchRun(api_wrapper=wrapper)
|
191 |
st.markdown(search.run("¿Quién es Roberto Vaquero?"))
|
192 |
if prompt := st.chat_input("¡Pregunta lo que quieras!"):
|