Add1E commited on
Commit
fc4e32c
verified
1 Parent(s): 293b00f

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -11,7 +11,7 @@ openai.api_base = "https://tensora-oai.openai.azure.com/"
11
  openai.api_key = os.getenv("us_key")
12
 
13
 
14
- prompt = "Please analyze a complete news article and generate a suitable DALL路E prompt in response. The prompt should provide a general overview without being overly specific. For technical purposes, please only provide the DALL路E prompt without any additional information."
15
  headers = {"Authorization": f"Bearer {os.getenv('imageapi')}"}
16
  url = "https://api.edenai.run/v2/image/generation"
17
 
 
11
  openai.api_key = os.getenv("us_key")
12
 
13
 
14
+ prompt = "Please analyze a complete news article and generate a suitable DALL路E prompt in response. The prompt should provide a general overview without being overly specific and the picture should be easy to interpret. For technical purposes, please only provide the DALL路E prompt without any additional information."
15
  headers = {"Authorization": f"Bearer {os.getenv('imageapi')}"}
16
  url = "https://api.edenai.run/v2/image/generation"
17