mirror of
https://github.com/huggingface/text-generation-inference.git
synced 2025-04-19 22:02:06 +00:00
fix: prefer spaces url over temp url (#1662)
This PR fixes the broken urls in the idefics tests causing CI to fail
This commit is contained in:
parent
6f15ac60b2
commit
4f09c80cd8
@ -18,7 +18,7 @@ async def idefics(idefics_handle):
|
||||
@pytest.mark.asyncio
|
||||
async def test_idefics(idefics, response_snapshot):
|
||||
response = await idefics.generate(
|
||||
"User:Can you tell me a very short story based on the image?",
|
||||
"User:Can you tell me a very short story based on the image?",
|
||||
max_new_tokens=10,
|
||||
decoder_input_details=True,
|
||||
)
|
||||
@ -31,7 +31,7 @@ async def test_idefics(idefics, response_snapshot):
|
||||
async def test_idefics_load(idefics, generate_load, response_snapshot):
|
||||
responses = await generate_load(
|
||||
idefics,
|
||||
"User:Can you tell me a very short story based on the image?",
|
||||
"User:Can you tell me a very short story based on the image?",
|
||||
max_new_tokens=10,
|
||||
n=4,
|
||||
)
|
||||
|
Loading…
Reference in New Issue
Block a user