Spaces:
Running
on
Zero
Running
on
Zero
Update app.py
Browse files
app.py
CHANGED
@@ -330,11 +330,11 @@ demo = gr.ChatInterface(
|
|
330 |
gr.Slider(label="Repetition penalty", minimum=1.0, maximum=2.0, step=0.05, value=1.2),
|
331 |
],
|
332 |
examples=[
|
|
|
333 |
["Python Program for Array Rotation"],
|
334 |
["@tts1 Who is Nikola Tesla, and why did he die?"],
|
335 |
[{"text": "Extract JSON from the image", "files": ["examples/document.jpg"]}],
|
336 |
[{"text": "summarize the letter", "files": ["examples/1.png"]}],
|
337 |
-
["@image Chocolate dripping from a donut against a yellow background, in the style of brocore, hyper-realistic"],
|
338 |
["@tts2 What causes rainbows to form?"],
|
339 |
],
|
340 |
cache_examples=False,
|
@@ -342,7 +342,7 @@ demo = gr.ChatInterface(
|
|
342 |
description=DESCRIPTION,
|
343 |
css=css,
|
344 |
fill_height=True,
|
345 |
-
textbox=gr.MultimodalTextbox(label="Query Input", file_types=["image"], file_count="multiple", placeholder=" @tts1, @tts2, @image
|
346 |
stop_btn="Stop Generation",
|
347 |
multimodal=True,
|
348 |
)
|
|
|
330 |
gr.Slider(label="Repetition penalty", minimum=1.0, maximum=2.0, step=0.05, value=1.2),
|
331 |
],
|
332 |
examples=[
|
333 |
+
["@image Chocolate dripping from a donut against a yellow background, in the style of brocore, hyper-realistic"],
|
334 |
["Python Program for Array Rotation"],
|
335 |
["@tts1 Who is Nikola Tesla, and why did he die?"],
|
336 |
[{"text": "Extract JSON from the image", "files": ["examples/document.jpg"]}],
|
337 |
[{"text": "summarize the letter", "files": ["examples/1.png"]}],
|
|
|
338 |
["@tts2 What causes rainbows to form?"],
|
339 |
],
|
340 |
cache_examples=False,
|
|
|
342 |
description=DESCRIPTION,
|
343 |
css=css,
|
344 |
fill_height=True,
|
345 |
+
textbox=gr.MultimodalTextbox(label="Query Input", file_types=["image"], file_count="multiple", placeholder=" @tts1, @tts2-voices, @image-image gen, default [text, vision]"),
|
346 |
stop_btn="Stop Generation",
|
347 |
multimodal=True,
|
348 |
)
|