Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -42,7 +42,7 @@ def getProductDetails(history, image):
|
|
42 |
# clients = InferenceClient("google/gemma-7b")
|
43 |
# rand_val = random.randint(1, 1111111111111111)
|
44 |
if not history:
|
45 |
-
history = [{"role": "system", "content": "You are a helpful assistant."}]
|
46 |
# generate_kwargs = dict(
|
47 |
# temperature=temp,
|
48 |
# max_new_tokens=tokens,
|
|
|
42 |
# clients = InferenceClient("google/gemma-7b")
|
43 |
# rand_val = random.randint(1, 1111111111111111)
|
44 |
if not history:
|
45 |
+
history = [{"role": "system", "content": "You are a helpful assistant."}]
|
46 |
# generate_kwargs = dict(
|
47 |
# temperature=temp,
|
48 |
# max_new_tokens=tokens,
|