rbx-imarcin commited on
Commit
bec4723
·
verified ·
1 Parent(s): 3d0da8e

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -41,7 +41,7 @@ def generate_response(prompt, system_prompt, temperature, top_p, seed):
41
 
42
  response_data = response.json()
43
 
44
- text_response = response_data.get("generated_text", "No content returned")
45
 
46
  # Convert the full response to a pretty-printed JSON
47
  json_response = json.dumps(response_data, indent=2)
 
41
 
42
  response_data = response.json()
43
 
44
+ text_response = response_data.get("generatedText", "No content returned")
45
 
46
  # Convert the full response to a pretty-printed JSON
47
  json_response = json.dumps(response_data, indent=2)