prithivMLmods commited on
Commit
e363aa0
·
verified ·
1 Parent(s): ed545b6

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -97,7 +97,7 @@ def generate_image(model_name: str, text: str, image: Image.Image,
97
  """
98
  Generates responses using the selected model for image input.
99
  """
100
- if model_name == "Llama-4":
101
  processor = processor_m
102
  model = model_m
103
  elif model_name == "coreOCR-7B-050325-preview":
@@ -153,7 +153,7 @@ def generate_video(model_name: str, text: str, video_path: str,
153
  """
154
  Generates responses using the selected model for video input.
155
  """
156
- if model_name == "Llama-4":
157
  processor = processor_m
158
  model = model_m
159
  elif model_name == "coreOCR-7B-050325-preview":
 
97
  """
98
  Generates responses using the selected model for image input.
99
  """
100
+ if model_name == "typhoon-ocr-7b":
101
  processor = processor_m
102
  model = model_m
103
  elif model_name == "coreOCR-7B-050325-preview":
 
153
  """
154
  Generates responses using the selected model for video input.
155
  """
156
+ if model_name == "typhoon-ocr-7b":
157
  processor = processor_m
158
  model = model_m
159
  elif model_name == "coreOCR-7B-050325-preview":