Update src/app/response.py
Browse files- src/app/response.py +0 -2
src/app/response.py
CHANGED
@@ -7,7 +7,6 @@ import spaces
|
|
7 |
from src.config import (
|
8 |
device,
|
9 |
model_name,
|
10 |
-
system_prompt,
|
11 |
sampling,
|
12 |
stream,
|
13 |
top_p,
|
@@ -57,7 +56,6 @@ def describe_image(image: str, question: str) -> str:
|
|
57 |
temperature=temperature,
|
58 |
repetition_penalty=repetition_penalty,
|
59 |
max_new_tokens=max_new_tokens,
|
60 |
-
system_prompt=system_prompt,
|
61 |
)
|
62 |
|
63 |
# Log the successful generation of the answer
|
|
|
7 |
from src.config import (
|
8 |
device,
|
9 |
model_name,
|
|
|
10 |
sampling,
|
11 |
stream,
|
12 |
top_p,
|
|
|
56 |
temperature=temperature,
|
57 |
repetition_penalty=repetition_penalty,
|
58 |
max_new_tokens=max_new_tokens,
|
|
|
59 |
)
|
60 |
|
61 |
# Log the successful generation of the answer
|