Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -454,7 +454,7 @@ async def health_check():
|
|
| 454 |
|
| 455 |
# --- Gradio Interface ---
|
| 456 |
|
| 457 |
-
def execute_stock_request(ticker_input: str, start_date: str, end_date: str, interval: int, batch_size: int =
|
| 458 |
"""Wrapper function for Gradio interface - returns JSON string for compatibility."""
|
| 459 |
try:
|
| 460 |
result = process_stock_request(ticker_input, start_date, end_date, interval, "Asia/Kolkata", batch_size, batch_delay)
|
|
|
|
| 454 |
|
| 455 |
# --- Gradio Interface ---
|
| 456 |
|
| 457 |
+
def execute_stock_request(ticker_input: str, start_date: str, end_date: str, interval: int, batch_size: int = 100, batch_delay: float = 0.2) -> str:
|
| 458 |
"""Wrapper function for Gradio interface - returns JSON string for compatibility."""
|
| 459 |
try:
|
| 460 |
result = process_stock_request(ticker_input, start_date, end_date, interval, "Asia/Kolkata", batch_size, batch_delay)
|