Spaces:
Sleeping
Sleeping
Update app.py
Browse files345 unmodified lines3463473483493493503513524 unmodified lines357358359360360361362363345 unmodified lines except Exception as err: print(f"An error occurred: {err}") # 1. Send PENDING status predictionID = result.get("id") # Call the train_full function to get predictions predicted_values = train_full(limit, tsym, crypto_name, timeframe) 4 unmodified lines # 1. Send TRAINED status trained_url = f"{BASE_API_URL}insert-trained/" trained_data = { "pendingId": result.get("id"), "pendingId": predictionID, "secret": SECRET_CODE, "crypto_name": crypto_name, "timeframe": timeframe,app.py+2-2