Spaces:
Running
on
Zero
Running
on
Zero
Update app.py
Browse files
app.py
CHANGED
@@ -385,14 +385,7 @@ examples = [
|
|
385 |
],
|
386 |
]
|
387 |
|
388 |
-
DESCRIPTION = """\
|
389 |
-
<img src='https://huggingface.co/spaces/huggingface-projects/gemma-3-12b-it/resolve/main/assets/logo.png' id='logo' />
|
390 |
|
391 |
-
This is a demo of Gemma 3 27B it, a vision language model with outstanding performance on a wide range of tasks.
|
392 |
-
You can upload images, interleaved images and videos. Note that video input only supports single-turn conversation and mp4 input.
|
393 |
-
|
394 |
-
Also, PDF files are now supported: any uploaded PDF will be converted to Markdown text and passed into the conversation.
|
395 |
-
"""
|
396 |
|
397 |
# [PDF] .pdf 허용
|
398 |
demo = gr.ChatInterface(
|
@@ -406,8 +399,8 @@ demo = gr.ChatInterface(
|
|
406 |
),
|
407 |
multimodal=True,
|
408 |
additional_inputs=[
|
409 |
-
gr.Textbox(label="System Prompt", value="
|
410 |
-
gr.Slider(label="Max New Tokens", minimum=100, maximum=
|
411 |
],
|
412 |
stop_btn=False,
|
413 |
title="Gemma 3 27B IT",
|
|
|
385 |
],
|
386 |
]
|
387 |
|
|
|
|
|
388 |
|
|
|
|
|
|
|
|
|
|
|
389 |
|
390 |
# [PDF] .pdf 허용
|
391 |
demo = gr.ChatInterface(
|
|
|
399 |
),
|
400 |
multimodal=True,
|
401 |
additional_inputs=[
|
402 |
+
gr.Textbox(label="System Prompt", value="ou are a deeply thoughtful AI. Consider problems thoroughly and derive correct solutions through systematic reasoning. Please answer in korean."),
|
403 |
+
gr.Slider(label="Max New Tokens", minimum=100, maximum=8000, step=50, value=2000),
|
404 |
],
|
405 |
stop_btn=False,
|
406 |
title="Gemma 3 27B IT",
|