nyuuzyou commited on
Commit
7680f74
·
verified ·
1 Parent(s): e8cea42

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -16,7 +16,7 @@ model_id = "utter-project/EuroLLM-1.7B-Instruct"
16
  tokenizer = AutoTokenizer.from_pretrained(model_id)
17
  model = AutoModelForCausalLM.from_pretrained(model_id)
18
 
19
-
20
  def generate(
21
  message: str,
22
  chat_history: list[tuple[str, str]],
 
16
  tokenizer = AutoTokenizer.from_pretrained(model_id)
17
  model = AutoModelForCausalLM.from_pretrained(model_id)
18
 
19
+ @spaces.GPU
20
  def generate(
21
  message: str,
22
  chat_history: list[tuple[str, str]],