Spaces:
Runtime error
Runtime error
Update ModelServe.py
Browse files- ModelServe.py +4 -4
ModelServe.py
CHANGED
|
@@ -13,10 +13,10 @@ class StockRequest(BaseModel):
|
|
| 13 |
|
| 14 |
# Define file paths (assuming the structure is already known)
|
| 15 |
STOCK_FILE_PATHS = {
|
| 16 |
-
"TSLA": "
|
| 17 |
-
"AAPL": "
|
| 18 |
-
"AMZN": "
|
| 19 |
-
"MSFT": "
|
| 20 |
}
|
| 21 |
|
| 22 |
def load_and_preprocess_data(filepath):
|
|
|
|
| 13 |
|
| 14 |
# Define file paths (assuming the structure is already known)
|
| 15 |
STOCK_FILE_PATHS = {
|
| 16 |
+
"TSLA": "TSLA_data.csv",
|
| 17 |
+
"AAPL": "AAPL_data.csv",
|
| 18 |
+
"AMZN": "AMZN_data.csv",
|
| 19 |
+
"MSFT": "MSFT_data.csv",
|
| 20 |
}
|
| 21 |
|
| 22 |
def load_and_preprocess_data(filepath):
|