Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -28,7 +28,7 @@ Q: A juggler can juggle 16 balls. Half of the balls are golf balls, and half of
|
|
28 |
]
|
29 |
|
30 |
title = "Flan UL2 and Vanilla T5"
|
31 |
-
description = "This demo compares [T5-large](https://huggingface.co/t5-large) and [Flan-UL2](https://huggingface.co/google/flan-ul2). Note that T5 expects a very specific format of the prompts, so the examples below are not necessarily the best prompts to compare. This demo is highly inspired from the [
|
32 |
|
33 |
def inference(text):
|
34 |
output_flan = pipe_flan(text, max_length=100)[0]["generated_text"]
|
|
|
28 |
]
|
29 |
|
30 |
title = "Flan UL2 and Vanilla T5"
|
31 |
+
description = "This demo compares [T5-large](https://huggingface.co/t5-large) and [Flan-UL2](https://huggingface.co/google/flan-ul2). Note that T5 expects a very specific format of the prompts, so the examples below are not necessarily the best prompts to compare. This demo is highly inspired from the ['I like Flan' demo](https://huggingface.co/spaces/osanseviero/i-like-flan)"
|
32 |
|
33 |
def inference(text):
|
34 |
output_flan = pipe_flan(text, max_length=100)[0]["generated_text"]
|