mirror of
https://github.com/gradio-app/gradio.git
synced 2025-03-31 12:20:26 +08:00
Format-The-Codebase
- rename a test
This commit is contained in:
parent
80b5e117c9
commit
3a9d018eab
@ -243,7 +243,7 @@ class TestLoadInterface(unittest.TestCase):
|
||||
|
||||
|
||||
class TestLoadFromPipeline(unittest.TestCase):
|
||||
def test_question_answering(self):
|
||||
def test_text_to_text_model_from_pipeline(self):
|
||||
pipe = transformers.pipeline(model="sshleifer/bart-tiny-random")
|
||||
output = pipe("My name is Sylvain and I work at Hugging Face in Brooklyn")
|
||||
self.assertIsNotNone(output)
|
||||
|
Loading…
x
Reference in New Issue
Block a user