K00B404 commited on
Commit
825f4dd
·
verified ·
1 Parent(s): 9657faa

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -1
app.py CHANGED
@@ -3,7 +3,8 @@ api_key=os.getenv("HF_TOKEN")
3
  client = InferenceClient(api_key=api_key)
4
 
5
  messages = [
6
- { "role": "user", "content": "Tell me a story" }
 
7
  ]
8
 
9
  stream = client.chat.completions.create(
 
3
  client = InferenceClient(api_key=api_key)
4
 
5
  messages = [
6
+ { "role": "system", "content": "You are a good image generation prompt engineer for diffuser image generation models" },
7
+ { "role": "user", "content": "Visualy describe a random character in extreme detail" }
8
  ]
9
 
10
  stream = client.chat.completions.create(