Spaces:
Sleeping
Sleeping
chore: Update app.py with improved Gradio interface for Sudoku Solver
Browse files
app.py
CHANGED
@@ -7,6 +7,7 @@ model = AutoModel.from_pretrained("openbmb/MiniCPM-Llama3-V-2_5", trust_remote_c
|
|
7 |
# Load the tokenizer
|
8 |
tokenizer = AutoTokenizer.from_pretrained("openbmb/MiniCPM-Llama3-V-2_5", trust_remote_code=True)
|
9 |
|
|
|
10 |
|
11 |
|
12 |
# Define the Gradio components
|
|
|
7 |
# Load the tokenizer
|
8 |
tokenizer = AutoTokenizer.from_pretrained("openbmb/MiniCPM-Llama3-V-2_5", trust_remote_code=True)
|
9 |
|
10 |
+
model.eval()
|
11 |
|
12 |
|
13 |
# Define the Gradio components
|