zej97 commited on
Commit
474d806
1 Parent(s): 068a125

Upload folder using huggingface_hub

Browse files
Files changed (21) hide show
  1. README.md +4 -0
  2. __pycache__/app.cpython-311.pyc +0 -0
  3. app.py +33 -14
  4. outputs/Does accurate and reliable financial forecasting remain an elusive goal/research--3231409162574121760.txt +1 -0
  5. outputs/Does accurate and reliable financial forecasting remain an elusive goal/research--8060411438590947379.txt +1 -0
  6. outputs/Does accurate and reliable financial forecasting remain an elusive goal/research-1461537057981544948.txt +1 -0
  7. outputs/Does accurate and reliable financial forecasting remain an elusive goal/research-23651813665378177.txt +1 -0
  8. outputs/Does accurate and reliable financial forecasting remain an elusive goal/research-6598159491551235949.txt +1 -0
  9. outputs/Is stock market preditable/research--3587500053730333696.txt +1 -0
  10. outputs/Is stock market preditable/research--519710563678446545.txt +1 -0
  11. outputs/Is stock market preditable/research-2876401626239259737.txt +1 -0
  12. outputs/Is stock market preditable/research-4011667556710041182.txt +1 -0
  13. outputs/Is stock market preditable/research-4190053158498481238.txt +1 -0
  14. outputs/What are Traditional Financial Forecasting Models/research--1406000685271303455.txt +1 -0
  15. outputs/What are Traditional Financial Forecasting Models/research-2141250224339014177.txt +1 -0
  16. outputs/What are Traditional Financial Forecasting Models/research-2615488845037326777.txt +1 -0
  17. outputs/What are Traditional Financial Forecasting Models/research-3706249024069042673.txt +1 -0
  18. outputs/What are Traditional Financial Forecasting Models/research-4363871688954188453.txt +1 -0
  19. statics/report_history_buffer.md +0 -0
  20. test/__pycache__/test_refresh.cpython-311.pyc +0 -0
  21. test/test_refresh.py +15 -0
README.md CHANGED
@@ -12,6 +12,10 @@ sdk_version: 3.38.0
12
  </div>
13
  </div>
14
 
 
 
 
 
15
  Inspired by [gpt-researcher](https://github.com/assafelovic/gpt-researcher). This project endeavors to develop an AI research assistant capable of **generating research reports** effortlessly for researchers. For instance, researchers can request the AI research assistant to compose a report on *the latest advancements in the field of superconductors as of 2023*, which is currently a trending topic. The AI research assistant will subsequently compile a report based on the relevant information obtained from the internet. Now, AIRA also offers support for **academic English polishing**.
16
 
17
  <!-- make a table -->
 
12
  </div>
13
  </div>
14
 
15
+ > **15th Aug, 2023 Fix: HttpError. (Sorry for the late update. I'm currently working on my dissertation...)**
16
+ > **21th Aug, 2023 Fix: Report History is only displayed after clicking and will be rest after refreshing.**
17
+
18
+
19
  Inspired by [gpt-researcher](https://github.com/assafelovic/gpt-researcher). This project endeavors to develop an AI research assistant capable of **generating research reports** effortlessly for researchers. For instance, researchers can request the AI research assistant to compose a report on *the latest advancements in the field of superconductors as of 2023*, which is currently a trending topic. The AI research assistant will subsequently compile a report based on the relevant information obtained from the internet. Now, AIRA also offers support for **academic English polishing**.
20
 
21
  <!-- make a table -->
__pycache__/app.cpython-311.pyc CHANGED
Binary files a/__pycache__/app.cpython-311.pyc and b/__pycache__/app.cpython-311.pyc differ
 
app.py CHANGED
@@ -1,5 +1,8 @@
 
1
  import gradio as gr
2
 
 
 
3
  from config import check_openai_api_key
4
  from agent.research_agent import ResearchAgent
5
  from agent.toolkits import english_polishing
@@ -8,13 +11,24 @@ from statics.style import *
8
 
9
  check_openai_api_key()
10
  report_history_buffer = ""
11
- report_history_num = 0
12
  report_history_tasks = []
13
  polish_history_buffer = ""
14
 
 
 
 
 
 
 
 
 
 
 
 
 
 
15
  def run_agent(task, agent, report_type):
16
- global report_history_num, report_history_tasks
17
- report_history_num += 1
18
  report_history_tasks.append(task)
19
  assistant = ResearchAgent(task, agent)
20
  yield from assistant.write_report(report_type)
@@ -61,20 +75,25 @@ with gr.Blocks(theme=gr.themes.Base(),
61
  inputs=input_box)
62
 
63
  with gr.Accordion(label="# Report History", elem_id="history", open=False):
64
- report_history = gr.Markdown()
65
-
66
  def store_report(content):
67
- global report_history_num, report_history_tasks, report_history_buffer
68
- report_history_buffer += f'<details> \
69
- <summary>Research History {report_history_num}: \
70
- <i>{report_history_tasks[-1]}</i></summary> \
71
- <div id="history_box">{content}</div> \
72
- </details>'
 
 
 
 
 
73
  return report_history_buffer
74
-
75
  submit_btn.click(run_agent, inputs=[input_box, agent_type, report_type], outputs=report)\
76
  .then(store_report, inputs=[report], outputs=report_history)
77
-
78
  with gr.Tab("✒️English Polishing"):
79
  gr.HTML(english_polishing_html)
80
  polished_result = gr.Markdown("&nbsp;&nbsp;Polished result will appear here...", elem_classes="output")
@@ -84,7 +103,7 @@ with gr.Blocks(theme=gr.themes.Base(),
84
  polish_btn = gr.Button("Polish", elem_id="primary-btn")
85
 
86
  with gr.Accordion(label="# Polishing History", elem_id="history", open=False):
87
- polish_history = gr.Markdown()
88
 
89
  def store_polished_result(origin, result):
90
  global polish_history_buffer
 
1
+ import os
2
  import gradio as gr
3
 
4
+ from datetime import datetime, timezone
5
+
6
  from config import check_openai_api_key
7
  from agent.research_agent import ResearchAgent
8
  from agent.toolkits import english_polishing
 
11
 
12
  check_openai_api_key()
13
  report_history_buffer = ""
 
14
  report_history_tasks = []
15
  polish_history_buffer = ""
16
 
17
+ REPORT_HISTORY_FILE_PATH = "./statics/report_history_buffer.md"
18
+
19
+
20
+ def load_report_history():
21
+ global report_history_buffer
22
+ if os.path.exists(REPORT_HISTORY_FILE_PATH):
23
+ with open(REPORT_HISTORY_FILE_PATH, "r") as f:
24
+ report_history_buffer = f.read()
25
+ else:
26
+ open(REPORT_HISTORY_FILE_PATH, "w").close()
27
+ return report_history_buffer
28
+
29
+
30
  def run_agent(task, agent, report_type):
31
+ global report_history_tasks
 
32
  report_history_tasks.append(task)
33
  assistant = ResearchAgent(task, agent)
34
  yield from assistant.write_report(report_type)
 
75
  inputs=input_box)
76
 
77
  with gr.Accordion(label="# Report History", elem_id="history", open=False):
78
+ report_history = gr.Markdown(value=load_report_history)
79
+
80
  def store_report(content):
81
+ global report_history_tasks, report_history_buffer
82
+ report_task = report_history_tasks[-1][:min(100, len(report_history_tasks[-1]))]
83
+ time_stamp = datetime.now(timezone.utc).strftime("%Y-%m-%d %H:%M:%S %P")
84
+ new_report = f'<details> \
85
+ <summary>UTC {time_stamp}: \
86
+ <i>{report_task}</i></summary> \
87
+ <div id="history_box">{content}</div> \
88
+ </details>'
89
+ report_history_buffer += new_report
90
+ with open("./statics/report_history_buffer.md", "a+") as f:
91
+ f.write(new_report)
92
  return report_history_buffer
93
+
94
  submit_btn.click(run_agent, inputs=[input_box, agent_type, report_type], outputs=report)\
95
  .then(store_report, inputs=[report], outputs=report_history)
96
+
97
  with gr.Tab("✒️English Polishing"):
98
  gr.HTML(english_polishing_html)
99
  polished_result = gr.Markdown("&nbsp;&nbsp;Polished result will appear here...", elem_classes="output")
 
103
  polish_btn = gr.Button("Polish", elem_id="primary-btn")
104
 
105
  with gr.Accordion(label="# Polishing History", elem_id="history", open=False):
106
+ polish_history = gr.Markdown()
107
 
108
  def store_polished_result(origin, result):
109
  global polish_history_buffer
outputs/Does accurate and reliable financial forecasting remain an elusive goal/research--3231409162574121760.txt ADDED
@@ -0,0 +1 @@
 
 
1
+ [{"title": "16 Factors To Consider When Budgeting And Forecasting For Next ... - Forbes", "href": "https://www.forbes.com/sites/forbesfinancecouncil/2023/08/11/16-key-factors-to-consider-when-budgeting-and-forecasting-for-the-upcoming-year/", "body": "1. Historical Performance A crucial factor that managers need to consider when budgeting and forecasting for the upcoming year is the company's historical financial performance. Analyzing past..."}, {"title": "The Art and Science of Financial Forecast Reliability: Start Here", "href": "https://beebole.com/blog/financial-forecast-reliability/", "body": "Here are six factors that can affect financial forecast reliability. I'll dive into each one more in-depth below. Accuracy of data: The accuracy of the historical data used to create the forecast is crucial to its reliability. If the data is outdated, incomplete, or otherwise inaccurate, the forecast will not be reliable."}, {"title": "Avoid these 4 common financial forecasting mistakes", "href": "https://www.accountingtoday.com/list/avoid-these-4-common-financial-forecasting-mistakes", "body": "Avoiding these common mistakes ensures CPAs provide the best information and analysis to their clients. Executives with an accurate financial forecast in their tool belts will be able to make strategic plans for their business to grow and thrive. Justin Hatch. CEO, Reach Reporting. Technology Automation Budgets Financial reporting."}]
outputs/Does accurate and reliable financial forecasting remain an elusive goal/research--8060411438590947379.txt ADDED
@@ -0,0 +1 @@
 
 
1
+ [{"title": "Five Tips to Improve Your Financial Forecasts", "href": "https://www.morganfranklin.com/insights/company-insight/five-tips-improve-financial-forecasts/", "body": "Many fast-growing companies have trouble producing reliable, accurate financial forecasts. This makes it difficult to reach strategic decisions, as well as manage the expectations of investors and other stakeholders. The following five tips can be used to improve the accuracy and impact of your company's forecasting today. 1."}, {"title": "FP&A Tips: How to Improve Forecasting Accuracy in 2023? - Abacum", "href": "https://www.abacum.io/blog/6-ways-to-improve-forecast-accuracy", "body": "Ultimately, a finance team should strive to build the right data processes to improve forecasting accuracy, conduct variance analysis, adjust plans as needed, and provide greater visibility to senior management. 1. Keep your financial forecasts flexible. A company is constantly evolving. A financial forecast should reflect these changes."}, {"title": "How To Improve Your Financial Forecasting Accuracy in 30 Days", "href": "https://www.venasolutions.com/blog/how-to-improve-financial-forecasting-accuracy", "body": "14 Tips for Improving Your Financial Forecasting Accuracy in 30 Days . We prepared a list of tips below to improve the accuracy of your financial forecasting within 30 days. Many require implementing FP&A software or upgrading your legacy systems. You can also use these tips to periodically fine-tune your forecasting processes. 1."}]
outputs/Does accurate and reliable financial forecasting remain an elusive goal/research-1461537057981544948.txt ADDED
@@ -0,0 +1 @@
 
 
1
+ [{"title": "Financial Forecasting: How to Do It with Different Methods, Models ...", "href": "https://blog.hubspot.com/sales/financial-forecasting", "body": "1. What is financial forecasting? Forecasting vs. Budgeting 2. Financial Forecasting Models Top-Down Financial Forecasting Delphi Financial Forecasting Statistical Forecasting Bottom-Up Financial Forecasting 3. Financial Forecasting Methods Straight Line Simple Linear Regression Multiple Linear Regression Moving Average 4."}, {"title": "Financial Forecasting Methods and Examples | UOPX | University of Phoenix", "href": "https://www.phoenix.edu/blog/what-is-financial-forecasting.html", "body": "There are four common methods of financial forecasting: straight line, moving average, simple linear regression and multiple linear regression. If you're interested in a career in finance, a bachelor's degree in business with a certificate in finance can provide foundational skills to pursue a role in this field. What is financial forecasting?"}, {"title": "FP&A Tips: How to Improve Forecasting Accuracy in 2023? - Abacum", "href": "https://www.abacum.io/blog/6-ways-to-improve-forecast-accuracy", "body": "Ultimately, a finance team should strive to build the right data processes to improve forecasting accuracy, conduct variance analysis, adjust plans as needed, and provide greater visibility to senior management. 1. Keep your financial forecasts flexible. A company is constantly evolving. A financial forecast should reflect these changes."}]
outputs/Does accurate and reliable financial forecasting remain an elusive goal/research-23651813665378177.txt ADDED
@@ -0,0 +1 @@
 
 
1
+ [{"title": "Challenges in creating accurate financial forecasting - Zetran", "href": "https://zetran.com/challenges-in-creating-accurate-financial-forecasting/", "body": "Financial forecasting is performed based on past business data to predict the future. Take an instant that your business average growth as 10% as a stable one for the past 4 years, you could predict your business finance for the next 4 years as 10%. While you use this kind of system wider, then you are on the way to financial forecasting problems."}, {"title": "What are the advantages and disadvantages of financial forecasting ...", "href": "https://countingup.com/resources/what-are-the-advantages-and-disadvantages-of-financial-forecasting/", "body": "One of the big advantages of forecasting is how much it helps with financial planning. If you have an idea of what the next few weeks will look like for your business, it's much easier to plan out things like stock orders. For instance, if your forecast indicates a lot of sales in the near future, you could start planning to expand your business."}, {"title": "16 Factors To Consider When Budgeting And Forecasting For Next ... - Forbes", "href": "https://www.forbes.com/sites/forbesfinancecouncil/2023/08/11/16-key-factors-to-consider-when-budgeting-and-forecasting-for-the-upcoming-year/", "body": "1. Historical Performance. A crucial factor that managers need to consider when budgeting and forecasting for the upcoming year is the company's historical financial performance. Analyzing past ..."}]
outputs/Does accurate and reliable financial forecasting remain an elusive goal/research-6598159491551235949.txt ADDED
@@ -0,0 +1 @@
 
 
1
+ [{"title": "What are the advantages and disadvantages of financial forecasting ...", "href": "https://countingup.com/resources/what-are-the-advantages-and-disadvantages-of-financial-forecasting/", "body": "One of the big advantages of forecasting is how much it helps with financial planning. If you have an idea of what the next few weeks will look like for your business, it's much easier to plan out things like stock orders. For instance, if your forecast indicates a lot of sales in the near future, you could start planning to expand your business."}, {"title": "Financial Forecasting Models: Pros, Cons & Tips from Experts [Free ...", "href": "https://www.highradius.com/resources/treasury/blogs/financial-forecasting-models/", "body": "Introduction Forecasting is like looking into a crystal ball with data instead of magic. It's a strategic tool for risk management, maintaining fiscal discipline, and charting your business's roadmap. However, the secret sauce lies in picking the suitable forecasting model tailored to your business context and updating it at the correct intervals."}, {"title": "Challenges & Limitations of Financial Forecasting | Sapling", "href": "https://www.sapling.com/7876921/challenges-limitations-financial-forecasting", "body": "Projected financial statements also are used to prepare business valuations, which may be needed for financial reporting purposes, estate planning, mergers and acquisitions, or even corporate litigation. Preparing financial forecasts requires complex analyses, which are subject to a number of limitations and challenges."}]
outputs/Is stock market preditable/research--3587500053730333696.txt ADDED
@@ -0,0 +1 @@
 
 
1
+ [{"title": "Technical Analysis of Stocks and Trends Definition - Investopedia", "href": "https://www.investopedia.com/terms/t/technical-analysis-of-stocks-and-trends.asp", "body": "Technical analysis is the study of historical market data, including price and volume. Using insights from market psychology, behavioral economics, and quantitative analysis, technical..."}, {"title": "Stock Analysis: Different Methods for Evaluating Stocks - Investopedia", "href": "https://www.investopedia.com/terms/s/stock-analysis.asp", "body": "Technical analysis of stocks and trends is the study of historical market data, including price and volume, to predict future market behavior. more Financial Analysis: Definition, Importance ..."}, {"title": "Understanding Trend Analysis and Trend Trading Strategies - Investopedia", "href": "https://www.investopedia.com/terms/t/trendanalysis.asp", "body": "Trend analysis is a technique used in technical analysis that attempts to predict future stock price movements based on recently observed trend data. Trend analysis uses historical..."}]
outputs/Is stock market preditable/research--519710563678446545.txt ADDED
@@ -0,0 +1 @@
 
 
1
+ [{"title": "5 Economic Factors That Influence Stocks - U.S. News", "href": "https://money.usnews.com/money/blogs/the-smarter-mutual-fund-investor/slideshows/economic-factors-that-influence-stocks", "body": "While it's impossible to completely predict the stock market, or time the perfect strategy, there are a few indicators to get a feel for what could be coming.Some economic factors influence ..."}, {"title": "Warning! The Stock Market Seems Confused - August 14, 2023", "href": "https://www.nasdaq.com/articles/warning-the-stock-market-seems-confused-august-14-2023", "body": "News & Insights. Warning! The Stock Market Seems Confused - August 14, 2023. Company earnings and the Federal Reserve's monetary policies are the two most significant factors affecting stock ..."}, {"title": "A Study of Stock Market Predictability Based on Financial ... - Hindawi", "href": "https://www.hindawi.com/journals/misy/2022/8077277/", "body": "Introduction In today's globalized economy and financial integration, the stock market is continuously complicated, presenting many deviations that classical financial analysis and economic theory are unable to explain."}]
outputs/Is stock market preditable/research-2876401626239259737.txt ADDED
@@ -0,0 +1 @@
 
 
1
+ [{"title": "Experts Predict How the Stock Market Will Perform for the Rest of 2023", "href": "https://finance.yahoo.com/news/experts-predict-stock-market-perform-130011212.html", "body": "Experts Predict How the Stock Market Will Perform for the Rest of 2023 Jamela Adam July 24, 2023 at 9:00 AM \u00b7 5 min read Jackie Niam / Getty Images/iStockphoto The stock market..."}, {"title": "Opinion: The worst is over for the stock market | CNN", "href": "https://www.cnn.com/2023/01/05/opinions/stock-market-prediction-zandi/index.html", "body": "CNN \u2014. The worst is over for the stock market, in my view. I base that prediction on the expectation that the Federal Reserve is close to the end of its interest rate hikes and that a full-blown ..."}, {"title": "Stock market outlook for 2023: Here's what experts predict amid ...", "href": "https://finance.yahoo.com/news/stock-market-outlook-2023-experts-141100877.html", "body": "Stock market outlook for 2023: Here's what experts predict amid recession fears James Royal, Bankrate January 14, 2023 at 9:11 AM \u00b7 8 min read Michael M. Santiago\u2014Getty Images This article..."}]
outputs/Is stock market preditable/research-4011667556710041182.txt ADDED
@@ -0,0 +1 @@
 
 
1
+ [{"title": "Predicting stock market using machine learning: best and ... - Springer", "href": "https://link.springer.com/article/10.1007/s13198-022-01811-1", "body": "Predicting stock market using machine learning: best and accurate way to know future stock prices | SpringerLink Home Article REVIEW PAPER Published: 09 January 2023 Predicting stock market using machine learning: best and accurate way to know future stock prices Dhruhi Sheth & Manan Shah"}, {"title": "Stock Market Prediction via Deep Learning Techniques: A Survey", "href": "https://arxiv.org/abs/2212.12717", "body": "Existing surveys on stock market prediction often focus on traditional machine learning methods instead of deep learning methods. This motivates us to provide a structured and comprehensive overview of the research on stock market prediction."}, {"title": "A Study of Stock Market Predictability Based on Financial ... - Hindawi", "href": "https://www.hindawi.com/journals/misy/2022/8077277/", "body": "1. Introduction In today's globalized economy and financial integration, the stock market is continuously complicated, presenting many deviations that classical financial analysis and economic theory are unable to explain."}]
outputs/Is stock market preditable/research-4190053158498481238.txt ADDED
@@ -0,0 +1 @@
 
 
1
+ [{"title": "Efficient Market Hypothesis (EMH): Definition and Critique - Investopedia", "href": "https://www.investopedia.com/terms/e/efficientmarkethypothesis.asp", "body": "Investopedia / Theresa Chiechi What Is the Efficient Market Hypothesis (EMH)? The efficient market hypothesis (EMH), alternatively known as the efficient market theory, is a hypothesis..."}, {"title": "Stock Market Predictability: Is it There? A Critical Review - CiteSeerX", "href": "https://citeseerx.ist.psu.edu/viewdoc/summary?doi=10.1.1.137.7294", "body": "Thus, stock market predictability is now taken almost as a feature of the data. However, there is less consensus on what drives this predictability. It may reflect time-varying risk premiums, it may reflect irrational behavior on the part of market participants, or it may simply not present in the data \u2014 a statistical fluke due to poor ..."}, {"title": "Why You Shouldn't Predict the Market | Towards Data Science", "href": "https://towardsdatascience.com/quit-trying-to-predict-the-market-27d77149a709", "body": "This is precisely why almost every source imaginable shows that buy and hold strategies are far more time-efficient and lucrative than trying to time or predict the market. Now, with this being said, you can technically create a model that factors in all the known factors that have moved the markets before. However, the vast majority of market ..."}]
outputs/What are Traditional Financial Forecasting Models/research--1406000685271303455.txt ADDED
@@ -0,0 +1 @@
 
 
1
+ [{"title": "Challenges & Limitations of Financial Forecasting | Sapling", "href": "https://www.sapling.com/7876921/challenges-limitations-financial-forecasting", "body": "Projected financial statements also are used to prepare business valuations, which may be needed for financial reporting purposes, estate planning, mergers and acquisitions, or even corporate litigation. Preparing financial forecasts requires complex analyses, which are subject to a number of limitations and challenges."}, {"title": "What are the advantages and disadvantages of financial forecasting ...", "href": "https://countingup.com/resources/what-are-the-advantages-and-disadvantages-of-financial-forecasting/", "body": "One of the big advantages of forecasting is how much it helps with financial planning. If you have an idea of what the next few weeks will look like for your business, it's much easier to plan out things like stock orders. For instance, if your forecast indicates a lot of sales in the near future, you could start planning to expand your business."}, {"title": "Financial Forecasting Models: Pros, Cons & Tips from Experts [Free ...", "href": "https://www.highradius.com/resources/treasury/blogs/financial-forecasting-models/", "body": "Introduction Forecasting is like looking into a crystal ball with data instead of magic. It's a strategic tool for risk management, maintaining fiscal discipline, and charting your business's roadmap. However, the secret sauce lies in picking the suitable forecasting model tailored to your business context and updating it at the correct intervals."}]
outputs/What are Traditional Financial Forecasting Models/research-2141250224339014177.txt ADDED
@@ -0,0 +1 @@
 
 
1
+ [{"title": "5 Financial Forecasting Models and Examples of Use Cases", "href": "https://baremetrics.com/blog/5-financial-forecasting-models-and-examples-of-use-cases", "body": "You can use this to see that your current revenue is 200 \u00d7 $25 = $5,000 and will increase by 5 \u00d7 $25 = $125 per month. 3. Delphi forecasting models. The Delphi method is a model where you get your forecast from a group of experts, leveraging a facilitator and continuously collaboratively iterating on hypotheses and analyses to reach a ..."}, {"title": "Financial Forecasting: How to Do It with Different Methods, Models ...", "href": "https://blog.hubspot.com/sales/financial-forecasting", "body": "1. What is financial forecasting? Forecasting vs. Budgeting 2. Financial Forecasting Models Top-Down Financial Forecasting Delphi Financial Forecasting Statistical Forecasting Bottom-Up Financial Forecasting 3. Financial Forecasting Methods Straight Line Simple Linear Regression Multiple Linear Regression Moving Average 4."}, {"title": "6 Types of Financial Forecasting Models (Plus Importance)", "href": "https://www.indeed.com/career-advice/career-development/financial-forecasting-models", "body": "Decision-making: Financial forecasting models help the management understand the business position and make short-and long-term decisions. You can learn from the past and accurately predict the future, such as foreseeing competition and market changes."}]
outputs/What are Traditional Financial Forecasting Models/research-2615488845037326777.txt ADDED
@@ -0,0 +1 @@
 
 
1
+ [{"title": "Forecasting Methods in Finance | Annual Review of Financial Economics", "href": "https://www.annualreviews.org/doi/abs/10.1146/annurev-financial-110217-022713", "body": "Our review highlights some of the key challenges in financial forecasting problems and opportunities arising from the unique features of financial data. We analyze the difficulty of establishing predictability in an environment with a low signal-to-noise ratio, persistent predictors, and instability in predictive relations arising from ..."}, {"title": "Rolling Forecast Model vs. Traditional budget: Pros and Cons", "href": "https://www.talentia-software.com/en/traditional-budget-vs-rolling-forecast-pros-and-cons/", "body": "1. Anticipate industry trends Rolling forecasts allow you to review your original budget and make adjustments to future periods. They are particularly useful for fast-growing and dynamic businesses that may have difficulty nailing down future financial predictions. A traditional budget may be sufficient for small businesses."}, {"title": "Financial Forecasting vs. Financial Modeling: What's the Difference?", "href": "https://www.investopedia.com/ask/answers/difference-between-financial-forecasting-and-financial-modeling/", "body": "Financial Forecasting vs. Financial Modeling: An Overview. Financial forecasting is the process by which a company thinks about and prepares for the future. Forecasting involves determining the ..."}]
outputs/What are Traditional Financial Forecasting Models/research-3706249024069042673.txt ADDED
@@ -0,0 +1 @@
 
 
1
+ [{"title": "What are the advantages and disadvantages of financial forecasting ...", "href": "https://countingup.com/resources/what-are-the-advantages-and-disadvantages-of-financial-forecasting/", "body": "One of the big advantages of forecasting is how much it helps with financial planning. If you have an idea of what the next few weeks will look like for your business, it's much easier to plan out things like stock orders. For instance, if your forecast indicates a lot of sales in the near future, you could start planning to expand your business."}, {"title": "Financial Forecasting vs. Financial Modeling: What's the Difference?", "href": "https://www.investopedia.com/ask/answers/difference-between-financial-forecasting-and-financial-modeling/", "body": "Financial forecasting is the process in which a company determines the expectations of future results. Financial modeling takes the financial forecasts and builds a predictive model that helps a ..."}, {"title": "Financial Forecasting - Understand the Importance & Methodology to ...", "href": "https://finmodelslab.com/blogs/blog/financial-forecasting", "body": "By forecasting cash flows and income, organizations can better anticipate their financial needs and make decisions based on current and projected market conditions. Financial forecasting also helps organizations to minimize risks and maximize their long-term success."}]
outputs/What are Traditional Financial Forecasting Models/research-4363871688954188453.txt ADDED
@@ -0,0 +1 @@
 
 
1
+ [{"title": "Financial Forecasting vs. Financial Modeling: What's the Difference?", "href": "https://www.investopedia.com/ask/answers/difference-between-financial-forecasting-and-financial-modeling/", "body": "Financial forecasting is the process in which a company determines the expectations of future results. Financial modeling takes the financial forecasts and builds a predictive model that helps a ..."}, {"title": "Financial Forecasting vs. Financial Modeling: Key Differences", "href": "https://www.netsuite.com/portal/resource/articles/financial-management/financial-forecasting-financial-modeling.shtml", "body": "Financial forecasting is the process of projecting how a business will perform during a future reporting period. Financial modeling is the process of gathering information from forecasts and other data, then simulating discrete scenarios to analyze what impact they might have on the company's financial health. Business planning teams often ..."}, {"title": "Financial Forecasting vs Financial Modeling: 5 Key Differences", "href": "https://www.insightsforprofessionals.com/finance/accounting/financial-forecasting-vs-financial-modeling", "body": "1. Modeling plays a bigger role in decisions. It's in the company's decision-making process that arguably the most important difference between financial forecasting and financial modeling becomes clear. While the former focuses on predicting future performance and results, the latter uses this information to create a model the business will ..."}]
statics/report_history_buffer.md ADDED
File without changes
test/__pycache__/test_refresh.cpython-311.pyc ADDED
Binary file (892 Bytes). View file
 
test/test_refresh.py ADDED
@@ -0,0 +1,15 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ import gradio as gr
2
+ import time
3
+
4
+ def get_time():
5
+ return time.ctime()
6
+
7
+ md = gr.Markdown(get_time)
8
+
9
+ def refresh():
10
+ print("refresh")
11
+ md.update()
12
+ return md.value
13
+
14
+ iface = gr.Interface(fn=refresh, inputs=[], outputs=md)
15
+ iface.launch()