MEOW commited on
Commit
12ea382
·
unverified ·
1 Parent(s): 52db026

Update utils.py

Browse files
Files changed (1) hide show
  1. utils.py +1 -1
utils.py CHANGED
@@ -42,7 +42,7 @@ def is_graph(image_content):
42
  def process_graph(image_content):
43
  """Process a graph image and generate a description."""
44
  deplot_description = process_graph_deplot(image_content)
45
- mixtral = NVIDIA(model_name="meta/llama-3.1-70b-instruct")
46
  response = mixtral.complete("Your responsibility is to explain charts. You are an expert in describing the responses of linearized tables into plain English text for LLMs to use. Explain the following linearized table. " + deplot_description)
47
  return response.text
48
 
 
42
  def process_graph(image_content):
43
  """Process a graph image and generate a description."""
44
  deplot_description = process_graph_deplot(image_content)
45
+ mixtral = NVIDIA(model_name="meta/llama-3.1-8b-instruct")
46
  response = mixtral.complete("Your responsibility is to explain charts. You are an expert in describing the responses of linearized tables into plain English text for LLMs to use. Explain the following linearized table. " + deplot_description)
47
  return response.text
48