Spaces:
Running
Running
Update app.py with improved Gradio interface and add context parameter to solve_sudoku function
Browse files
app.py
CHANGED
@@ -27,6 +27,7 @@ def solve_sudoku(image, question):
|
|
27 |
res = model.chat(
|
28 |
image=image,
|
29 |
msgs=msgs,
|
|
|
30 |
tokenizer=tokenizer,
|
31 |
sampling=True,
|
32 |
temperature=0.7,
|
|
|
27 |
res = model.chat(
|
28 |
image=image,
|
29 |
msgs=msgs,
|
30 |
+
context=None,
|
31 |
tokenizer=tokenizer,
|
32 |
sampling=True,
|
33 |
temperature=0.7,
|