Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -102,7 +102,7 @@ def generate(
|
|
102 |
|
103 |
|
104 |
resp = smr.invoke_endpoint_with_response_stream(
|
105 |
-
EndpointName=
|
106 |
Body=json.dumps(request),
|
107 |
ContentType="application/json",
|
108 |
)
|
|
|
102 |
|
103 |
|
104 |
resp = smr.invoke_endpoint_with_response_stream(
|
105 |
+
EndpointName=sm_endpoint_name,
|
106 |
Body=json.dumps(request),
|
107 |
ContentType="application/json",
|
108 |
)
|