ayinggg commited on
Commit
6d61c2c
·
verified ·
1 Parent(s): 4496bd3

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -39,7 +39,7 @@ def get_news(tickers):
39
  iface = gr.Interface(
40
  fn=get_news,
41
  inputs=gr.Textbox(label="Enter stock tickers (comma-separated, e.g., AAPL, TSLA, MSFT)"),
42
- outputs="text",
43
  title="Stock and Market News",
44
  description="Get the latest Yahoo Finance news for the general market and specific stocks."
45
  )
 
39
  iface = gr.Interface(
40
  fn=get_news,
41
  inputs=gr.Textbox(label="Enter stock tickers (comma-separated, e.g., AAPL, TSLA, MSFT)"),
42
+ outputs=gr.Markdown(),
43
  title="Stock and Market News",
44
  description="Get the latest Yahoo Finance news for the general market and specific stocks."
45
  )