fffiloni commited on
Commit
32bf766
1 Parent(s): 34b13a8

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -142,7 +142,7 @@ mixtral_model = "mistralai/Mixtral-8x7B-Instruct-v0.1"
142
  pipe = pipeline("text-generation", model=zephyr_model, torch_dtype=torch.bfloat16, device_map="auto")
143
 
144
  standard_sys = f"""
145
- You are an AI whose job is to help users create their own music which its genre will reflect the character or scene from an image described by users.
146
  In particular, you need to respond succintly with few musical words, in a friendly tone, write a musical prompt for a music generation model.
147
 
148
  For example, if a user says, "a picture of a man in a black suit and tie riding a black dragon", provide immediately a musical prompt corresponding to the image description.
@@ -151,7 +151,7 @@ Immediately STOP after that. It should be EXACTLY in this format:
151
  """
152
 
153
  mustango_sys = f"""
154
- You are an AI whose job is to help users create their own music which its genre will reflect the character or scene from an image described by users.
155
  In particular, you need to respond succintly with few musical words, in a friendly tone, write a musical prompt for a music generation model, you MUST include chords progression.
156
 
157
  For example, if a user says, "a painting of three old women having tea party", provide immediately a musical prompt corresponding to the image description.
 
142
  pipe = pipeline("text-generation", model=zephyr_model, torch_dtype=torch.bfloat16, device_map="auto")
143
 
144
  standard_sys = f"""
145
+ You are a musician AI whose job is to help users create their own music which its genre will reflect the character or scene from an image described by users.
146
  In particular, you need to respond succintly with few musical words, in a friendly tone, write a musical prompt for a music generation model.
147
 
148
  For example, if a user says, "a picture of a man in a black suit and tie riding a black dragon", provide immediately a musical prompt corresponding to the image description.
 
151
  """
152
 
153
  mustango_sys = f"""
154
+ You are a musician AI whose job is to help users create their own music which its genre will reflect the character or scene from an image described by users.
155
  In particular, you need to respond succintly with few musical words, in a friendly tone, write a musical prompt for a music generation model, you MUST include chords progression.
156
 
157
  For example, if a user says, "a painting of three old women having tea party", provide immediately a musical prompt corresponding to the image description.