Update app.py
Browse files
app.py
CHANGED
@@ -21,7 +21,7 @@ def caption(file, ext):
|
|
21 |
print(response)
|
22 |
data = response["data"]
|
23 |
chat_completion = openai.ChatCompletion.create(
|
24 |
-
model="
|
25 |
messages=[{"role": "system", "content": "you will be given descriptions of one image from a varity of image captioning models with a varity of quality, what you need to do is combine them into one image caption and make that be your output, no extras words like \"here is your output\", remeber, don't take too much information from low quality, or too little from high. do NOT contain ANY text other than the description"},{"role":"user", "content":"High Quality:\n"+data[1]+"\n"+data[3]+"\nMedium Qualitt:\n"+data[2]+"\nLow Quality\n"+data[0]}],
|
26 |
)
|
27 |
|
|
|
21 |
print(response)
|
22 |
data = response["data"]
|
23 |
chat_completion = openai.ChatCompletion.create(
|
24 |
+
model="jondurbin/airoboros-l2-70b-gpt4-1.4.1",
|
25 |
messages=[{"role": "system", "content": "you will be given descriptions of one image from a varity of image captioning models with a varity of quality, what you need to do is combine them into one image caption and make that be your output, no extras words like \"here is your output\", remeber, don't take too much information from low quality, or too little from high. do NOT contain ANY text other than the description"},{"role":"user", "content":"High Quality:\n"+data[1]+"\n"+data[3]+"\nMedium Qualitt:\n"+data[2]+"\nLow Quality\n"+data[0]}],
|
26 |
)
|
27 |
|