mrbeliever commited on
Commit
e3bbb23
1 Parent(s): 5c3571f

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -22,7 +22,7 @@ user_prompt = '<|user|>\n'
22
  assistant_prompt = '<|assistant|>\n'
23
  prompt_suffix = "<|end|>\n"
24
 
25
- default_question = "You are an image to prompt converter. Your work is to observe each and every detail of the image and craft a detailed prompt under 100 words in this format: [image content/subject, description of action, state, and mood], [art form, style], [artist/photographer reference if needed], [additional settings such as camera and lens settings, lighting, colors, effects, texture, background, rendering]."
26
 
27
  @spaces.GPU
28
  def run_example(image, text_input=default_question, model_id="microsoft/Phi-3.5-vision-instruct"):
 
22
  assistant_prompt = '<|assistant|>\n'
23
  prompt_suffix = "<|end|>\n"
24
 
25
+ default_question = "highly detailed caption"
26
 
27
  @spaces.GPU
28
  def run_example(image, text_input=default_question, model_id="microsoft/Phi-3.5-vision-instruct"):