Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -146,6 +146,7 @@ def get_stock_data(stock_name):
|
|
146 |
|
147 |
# Function to save CSV file and return its path
|
148 |
def save_to_csv(stock_name):
|
|
|
149 |
fstock, profit_data = get_stock_data(stock_name)
|
150 |
csv_file_path = f'{stock_name}.csv'
|
151 |
|
|
|
146 |
|
147 |
# Function to save CSV file and return its path
|
148 |
def save_to_csv(stock_name):
|
149 |
+
stock_name = stock_name.upper()
|
150 |
fstock, profit_data = get_stock_data(stock_name)
|
151 |
csv_file_path = f'{stock_name}.csv'
|
152 |
|