David Li commited on
Commit
db4200d
·
1 Parent(s): fa6dbbc

fix: update streamlit version

Browse files
Files changed (3) hide show
  1. README.md +1 -1
  2. pages/utils/util.py +1 -2
  3. requirements.txt +0 -1
README.md CHANGED
@@ -4,7 +4,7 @@ emoji: 🏢
4
  colorFrom: blue
5
  colorTo: green
6
  sdk: streamlit
7
- sdk_version: 1.17.0
8
  app_file: app.py
9
  pinned: false
10
  ---
 
4
  colorFrom: blue
5
  colorTo: green
6
  sdk: streamlit
7
+ sdk_version: 1.21.0
8
  app_file: app.py
9
  pinned: false
10
  ---
pages/utils/util.py CHANGED
@@ -2,11 +2,10 @@ import os
2
  import sys
3
  from PIL import Image
4
  from io import StringIO
5
-
6
  def remove_existing_file(func):
7
  def wrapper(*args, **kwargs):
8
  old_stdin = sys.stdin
9
- sys.stdin = StringIO("\n")
10
  stream = os.popen('cd ~ && pwd')
11
  root_dir = stream.read()
12
  sample_dir = root_dir.strip()
 
2
  import sys
3
  from PIL import Image
4
  from io import StringIO
 
5
  def remove_existing_file(func):
6
  def wrapper(*args, **kwargs):
7
  old_stdin = sys.stdin
8
+ sys.stdin = StringIO("y")
9
  stream = os.popen('cd ~ && pwd')
10
  root_dir = stream.read()
11
  sample_dir = root_dir.strip()
requirements.txt CHANGED
@@ -1,3 +1,2 @@
1
  git+https://github.com/OpenBB-finance/OpenBBTerminal.git
2
- streamlit
3
  yfinance
 
1
  git+https://github.com/OpenBB-finance/OpenBBTerminal.git
 
2
  yfinance