DMID23 commited on
Commit
14346b1
Β·
verified Β·
1 Parent(s): e3fc73a

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -1
app.py CHANGED
@@ -38,7 +38,8 @@ print("Model loaded successfully.")
38
  tokenizer = AutoTokenizer.from_pretrained(repo_id)
39
 
40
  # pipe μ„€μ • μ‹œ, device=-1 (CPU) λͺ…μ‹œ
41
- pipe = pipeline("text-generation", model=model, tokenizer=tokenizer, device=-1)
 
42
 
43
  # ---------- STEP 3: Gradio ν•¨μˆ˜ μ •μ˜ ----------
44
  # (이 뢀뢄은 λ³€κ²½ μ—†μŒ)
 
38
  tokenizer = AutoTokenizer.from_pretrained(repo_id)
39
 
40
  # pipe μ„€μ • μ‹œ, device=-1 (CPU) λͺ…μ‹œ
41
+ pipe = pipeline("text-generation", model=model, tokenizer=tokenizer) #
42
+
43
 
44
  # ---------- STEP 3: Gradio ν•¨μˆ˜ μ •μ˜ ----------
45
  # (이 뢀뢄은 λ³€κ²½ μ—†μŒ)