Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -22,7 +22,7 @@ pdf_context = extract_pdf_text([
|
|
| 22 |
|
| 23 |
# Hugging Face Inference Client μ€μ (starcoderbase μ¬μ©)
|
| 24 |
client = InferenceClient(
|
| 25 |
-
model="
|
| 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 κΈ°λ° μ½λ© λμ°λ―Έ
|
| 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 |
|