Spaces:
Running
on
Zero
Running
on
Zero
Commit
·
f40456d
1
Parent(s):
79956cf
should be beteter
Browse files- app_dialogue.py +2 -2
app_dialogue.py
CHANGED
|
@@ -30,7 +30,7 @@ MODELS = {
|
|
| 30 |
_attn_implementation="flash_attention_2",
|
| 31 |
trust_remote_code=True,
|
| 32 |
token=os.environ["HF_AUTH_TOKEN"],
|
| 33 |
-
).to(DEVICE),
|
| 34 |
"idefics2-8b (chat)": Idefics2ForConditionalGeneration.from_pretrained(
|
| 35 |
"HuggingFaceM4/idefics2-chat-tfrm-compatible",
|
| 36 |
torch_dtype=torch.bfloat16,
|
|
@@ -284,7 +284,7 @@ top_p = gr.Slider(
|
|
| 284 |
chatbot = gr.Chatbot(
|
| 285 |
label="Idefics2",
|
| 286 |
avatar_images=[None, BOT_AVATAR],
|
| 287 |
-
height=750,
|
| 288 |
)
|
| 289 |
|
| 290 |
|
|
|
|
| 30 |
_attn_implementation="flash_attention_2",
|
| 31 |
trust_remote_code=True,
|
| 32 |
token=os.environ["HF_AUTH_TOKEN"],
|
| 33 |
+
).to(DEVICE),
|
| 34 |
"idefics2-8b (chat)": Idefics2ForConditionalGeneration.from_pretrained(
|
| 35 |
"HuggingFaceM4/idefics2-chat-tfrm-compatible",
|
| 36 |
torch_dtype=torch.bfloat16,
|
|
|
|
| 284 |
chatbot = gr.Chatbot(
|
| 285 |
label="Idefics2",
|
| 286 |
avatar_images=[None, BOT_AVATAR],
|
| 287 |
+
# height=750,
|
| 288 |
)
|
| 289 |
|
| 290 |
|