dlimeng commited on
Commit
7b97ddf
·
1 Parent(s): ca45251

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -0
app.py CHANGED
@@ -64,6 +64,7 @@ def gpt_inference(base_url, model, openai_key, prompt):
64
  return "Error: " + response.text, 500
65
 
66
  code = extract_code(response.json()["choices"][0]["message"]["content"])
 
67
  img = execute_code(code)
68
  return img
69
 
 
64
  return "Error: " + response.text, 500
65
 
66
  code = extract_code(response.json()["choices"][0]["message"]["content"])
67
+ print(f"code:{code}")
68
  img = execute_code(code)
69
  return img
70