Spaces:
Runtime error
Runtime error
Commit
·
3fcbadf
1
Parent(s):
d03801a
some rendering stuff
Browse files- app_dialogue.py +8 -8
app_dialogue.py
CHANGED
@@ -415,7 +415,7 @@ with gr.Blocks(title="D", theme=gr.themes.Base()) as demo:
|
|
415 |
# problematic_bttn = gr.Button("Problematic😬")
|
416 |
|
417 |
with gr.Row():
|
418 |
-
with gr.Accordion("Advanced settings", open=
|
419 |
system_prompt = gr.Textbox(
|
420 |
value=SYSTEM_PROMPT,
|
421 |
visible=False,
|
@@ -484,13 +484,13 @@ with gr.Blocks(title="D", theme=gr.themes.Base()) as demo:
|
|
484 |
inputs=decoding_strategy,
|
485 |
outputs=top_p,
|
486 |
)
|
487 |
-
gr.Markdown(
|
488 |
-
|
489 |
-
|
490 |
-
|
491 |
-
|
492 |
-
|
493 |
-
)
|
494 |
|
495 |
def model_inference(
|
496 |
model_selector,
|
|
|
415 |
# problematic_bttn = gr.Button("Problematic😬")
|
416 |
|
417 |
with gr.Row():
|
418 |
+
with gr.Accordion("Advanced settings", open=False, visible=True) as parameter_row:
|
419 |
system_prompt = gr.Textbox(
|
420 |
value=SYSTEM_PROMPT,
|
421 |
visible=False,
|
|
|
484 |
inputs=decoding_strategy,
|
485 |
outputs=top_p,
|
486 |
)
|
487 |
+
# gr.Markdown(
|
488 |
+
# """<p><strong>💡 Pro tip</strong>:<br>
|
489 |
+
# You can input an arbitrary number of images at arbitrary positions in the same query.<br>
|
490 |
+
# You will need to input each image with its URL with the syntax <code><fake_token_around_image><image:IMAGE_URL><fake_token_around_image></code>.<br>
|
491 |
+
# For example, for two images, you could input <code>TEXT_1<fake_token_around_image><image:IMAGE_URL_1><fake_token_around_image>TEXT_2<fake_token_around_image><image:IMAGE_URL_2><fake_token_around_image>TEXT_3</code>.<br>
|
492 |
+
# In the particular case where two images are consecutive, it is not necessary to add an additional separator: <code><fake_token_around_image><image:IMAGE_URL_1><fake_token_around_image><image:IMAGE_URL_2><fake_token_around_image></code>.</p>"""
|
493 |
+
# )
|
494 |
|
495 |
def model_inference(
|
496 |
model_selector,
|