Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -79,9 +79,20 @@ st.set_page_config(layout="wide")
|
|
| 79 |
|
| 80 |
st.title("GPT Researcher")
|
| 81 |
st.markdown("""
|
| 82 |
-
|
| 83 |
-
GPT Researcher is an app that uses GPT (Generative Pre-trained Transformer) to conduct research based on user queries. It can pull information from the web or from uploaded documents to create comprehensive research reports.
|
| 84 |
""")
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 85 |
|
| 86 |
with st.sidebar.expander("How to Use", expanded=False):
|
| 87 |
st.markdown("""
|
|
@@ -96,7 +107,7 @@ with st.sidebar.expander("How to Use", expanded=False):
|
|
| 96 |
with st.sidebar:
|
| 97 |
st.markdown("### Research Settings")
|
| 98 |
research_type = st.selectbox("Select research type:", ["Web Research", "Document Research"], help="Choose between web-based research or research from local documents.")
|
| 99 |
-
query = st.text_input("Enter your research query:", "What is the Latest in Investing using AI?", help="Type your research question or topic.")
|
| 100 |
report_type = st.selectbox("Select report type:", ["research_report", "resource_list", "article_outline"], help="Choose the format of the final report.")
|
| 101 |
|
| 102 |
if research_type == "Web Research":
|
|
|
|
| 79 |
|
| 80 |
st.title("GPT Researcher")
|
| 81 |
st.markdown("""
|
| 82 |
+
GPT Researcher is an autonomous agent designed for comprehensive online research tasks. It pulls information from the web or uploaded documents to create detailed, factual, research reports.
|
|
|
|
| 83 |
""")
|
| 84 |
+
with st.expander("Why Use GPT Researcher?", expanded=False):
|
| 85 |
+
st.markdown("""
|
| 86 |
+
- **Objective and Unbiased**: GPT Researcher focuses on delivering accurate and factual information without bias.
|
| 87 |
+
- **Time-Efficient**: It significantly reduces the time required for manual research tasks.
|
| 88 |
+
- **Up-to-Date Information**: Unlike traditional LLMs, GPT Researcher avoids outdated information and minimizes the risk of hallucinations.
|
| 89 |
+
- **Comprehensive Reports**: Capable of producing long, detailed research reports (2,000+ words).
|
| 90 |
+
- **Reduced Misinformation**: By considering a wide range of sources, it minimizes the risks associated with limited or biased information.
|
| 91 |
+
|
| 92 |
+
For more details, visit the [GPT Researcher GitHub repository](https://github.com/assafelovic/gpt-researcher).
|
| 93 |
+
""")
|
| 94 |
+
|
| 95 |
+
query = st.text_input("Enter your research query:", "What is the Latest in Investing using AI?", help="Type your research question or topic.")
|
| 96 |
|
| 97 |
with st.sidebar.expander("How to Use", expanded=False):
|
| 98 |
st.markdown("""
|
|
|
|
| 107 |
with st.sidebar:
|
| 108 |
st.markdown("### Research Settings")
|
| 109 |
research_type = st.selectbox("Select research type:", ["Web Research", "Document Research"], help="Choose between web-based research or research from local documents.")
|
| 110 |
+
#query = st.text_input("Enter your research query:", "What is the Latest in Investing using AI?", help="Type your research question or topic.")
|
| 111 |
report_type = st.selectbox("Select report type:", ["research_report", "resource_list", "article_outline"], help="Choose the format of the final report.")
|
| 112 |
|
| 113 |
if research_type == "Web Research":
|