Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -18,6 +18,7 @@ import matplotlib.pyplot as plt
|
|
18 |
import matplotlib
|
19 |
import datetime
|
20 |
from datetime import datetime, date, time, timedelta
|
|
|
21 |
|
22 |
with open('lastradartext.txt', 'r') as file:
|
23 |
data_old = file.read()
|
@@ -26,6 +27,8 @@ value1,value2,value3,value4,value5,value6=data_old.split('SEPERATOR')
|
|
26 |
def getstuff(openapikey):
|
27 |
dateforfilesave=datetime.today().strftime("%d-%m-%Y")
|
28 |
print(dateforfilesave)
|
|
|
|
|
29 |
mainlistofanswers=[]
|
30 |
for each in ['www.mckinsey.com','www.bcg.com','www.bain.com','www.accenture.com']:
|
31 |
print(each)
|
|
|
18 |
import matplotlib
|
19 |
import datetime
|
20 |
from datetime import datetime, date, time, timedelta
|
21 |
+
import os
|
22 |
|
23 |
with open('lastradartext.txt', 'r') as file:
|
24 |
data_old = file.read()
|
|
|
27 |
def getstuff(openapikey):
|
28 |
dateforfilesave=datetime.today().strftime("%d-%m-%Y")
|
29 |
print(dateforfilesave)
|
30 |
+
os.environ['OPEN_API_KEY'] = str(openapikey)
|
31 |
+
|
32 |
mainlistofanswers=[]
|
33 |
for each in ['www.mckinsey.com','www.bcg.com','www.bain.com','www.accenture.com']:
|
34 |
print(each)
|