cszhzleo commited on
Commit
2bf22d0
1 Parent(s): b5a3b2c

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -102,7 +102,7 @@ def generate(
102
 
103
 
104
  resp = smr.invoke_endpoint_with_response_stream(
105
- EndpointName=endpoint_name,
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
  )