dellabee7 commited on
Commit
0d05982
Β·
verified Β·
1 Parent(s): 4975a36

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -22,7 +22,7 @@ pdf_context = extract_pdf_text([
22
 
23
  # Hugging Face Inference Client μ„€μ • (starcoderbase μ‚¬μš©)
24
  client = InferenceClient(
25
- model="bigcode/starcoder2-7b",
26
  token=os.getenv("HUGGINGFACEHUB_API_TOKEN") # λ°˜λ“œμ‹œ 등둝 ν•„μš”
27
  )
28
 
@@ -52,7 +52,7 @@ demo = gr.ChatInterface(
52
  gr.Slider(minimum=0.1, maximum=4.0, value=0.7, step=0.1, label="Temperature"),
53
  gr.Slider(minimum=0.1, maximum=1.0, value=0.95, step=0.05, label="Top-p"),
54
  ],
55
- title="πŸ’» 파이썬 API 기반 μ½”λ”© λ„μš°λ―Έ (StarCoder)",
56
  description="파이썬 κ°•μ˜μžλ£Œ 기반으둜 μ½”λ“œ μ§ˆλ¬Έμ— λ‹΅λ³€ν•˜λŠ” StarCoder μ±—λ΄‡μž…λ‹ˆλ‹€."
57
  )
58
 
 
22
 
23
  # Hugging Face Inference Client μ„€μ • (starcoderbase μ‚¬μš©)
24
  client = InferenceClient(
25
+ model="MBZUAI/LaMini-Flan-T5-783M",
26
  token=os.getenv("HUGGINGFACEHUB_API_TOKEN") # λ°˜λ“œμ‹œ 등둝 ν•„μš”
27
  )
28
 
 
52
  gr.Slider(minimum=0.1, maximum=4.0, value=0.7, step=0.1, label="Temperature"),
53
  gr.Slider(minimum=0.1, maximum=1.0, value=0.95, step=0.05, label="Top-p"),
54
  ],
55
+ title="πŸ’» 파이썬 API 기반 μ½”λ”© λ„μš°λ―Έ",
56
  description="파이썬 κ°•μ˜μžλ£Œ 기반으둜 μ½”λ“œ μ§ˆλ¬Έμ— λ‹΅λ³€ν•˜λŠ” StarCoder μ±—λ΄‡μž…λ‹ˆλ‹€."
57
  )
58