Faustrix commited on
Commit
3cf1b30
·
1 Parent(s): c7a986f

chore: Update app.py with improved Gradio interface for Sudoku Solver

Browse files
Files changed (1) hide show
  1. app.py +1 -0
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