seawolf2357 commited on
Commit
5066912
·
verified ·
1 Parent(s): 6ba3a5c

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +0 -13
app.py CHANGED
@@ -5,21 +5,8 @@ import yfinance as yf
5
  import pandas as pd
6
  import numpy as np
7
  import matplotlib.pyplot as plt
8
- import talib
9
  import tech_indicators as ti
10
 
11
- import subprocess
12
- import pkg_resources
13
-
14
- required = {'TA-Lib'}
15
- installed = {pkg.key for pkg in pkg_resources.working_set}
16
- missing = required - installed
17
-
18
- if missing:
19
- python = sys.executable
20
- subprocess.check_call([python, '-m', 'pip', 'install', *missing], stdout=subprocess.DEVNULL)
21
-
22
-
23
  client = InferenceClient("mistralai/Mixtral-8x7B-Instruct-v0.1")
24
  tokenizer = GPT2Tokenizer.from_pretrained("gpt2")
25
 
 
5
  import pandas as pd
6
  import numpy as np
7
  import matplotlib.pyplot as plt
 
8
  import tech_indicators as ti
9
 
 
 
 
 
 
 
 
 
 
 
 
 
10
  client = InferenceClient("mistralai/Mixtral-8x7B-Instruct-v0.1")
11
  tokenizer = GPT2Tokenizer.from_pretrained("gpt2")
12