Spaces:
Sleeping
Sleeping
howard-hou
commited on
Commit
•
c9b06c4
1
Parent(s):
43e9368
Update app.py
Browse files
app.py
CHANGED
@@ -38,8 +38,8 @@ def generate_prompt(instruction):
|
|
38 |
def generate(
|
39 |
ctx,
|
40 |
image_features,
|
41 |
-
token_count=
|
42 |
-
temperature=0
|
43 |
top_p=0.3,
|
44 |
presencePenalty = 0.0,
|
45 |
countPenalty = 1.0,
|
|
|
38 |
def generate(
|
39 |
ctx,
|
40 |
image_features,
|
41 |
+
token_count=128,
|
42 |
+
temperature=1.0,
|
43 |
top_p=0.3,
|
44 |
presencePenalty = 0.0,
|
45 |
countPenalty = 1.0,
|