FredinVázquez commited on
Commit
ed92055
·
1 Parent(s): 3ff4eee
Files changed (1) hide show
  1. app.py +2 -0
app.py CHANGED
@@ -22,6 +22,8 @@ from src.ui.components import (
22
  recipe_to_state,
23
  )
24
  from src.ui.theme import CSS, theme
 
 
25
 
26
 
27
  def on_propose(fridge_image: Image.Image | None, state: dict | None) -> tuple[str, str, list[str], dict]:
 
22
  recipe_to_state,
23
  )
24
  from src.ui.theme import CSS, theme
25
+ import os
26
+ os.environ["GGML_CUDA"] = "0"
27
 
28
 
29
  def on_propose(fridge_image: Image.Image | None, state: dict | None) -> tuple[str, str, list[str], dict]: