Spaces:
Running
on
T4
Running
on
T4
ubi integration
Browse files- utilities/ubi_lambda.py +3 -0
utilities/ubi_lambda.py
CHANGED
@@ -1,6 +1,9 @@
|
|
1 |
import boto3
|
2 |
import json
|
3 |
import os
|
|
|
|
|
|
|
4 |
|
5 |
lambda_client = boto3.client(
|
6 |
'lambda',
|
|
|
1 |
import boto3
|
2 |
import json
|
3 |
import os
|
4 |
+
import streamlit as st
|
5 |
+
# Initialize the Lambda client with AWS credentials and region
|
6 |
+
# Ensure that the AWS credentials are set in Streamlit secrets
|
7 |
|
8 |
lambda_client = boto3.client(
|
9 |
'lambda',
|