Spaces:
Runtime error
Runtime error
Update app.py
#1
by
tatoy
- opened
app.py
CHANGED
@@ -1,7 +1,7 @@
|
|
1 |
import gradio as gr
|
2 |
from transformers import pipeline
|
3 |
|
4 |
-
pipeline_flan=pipeline(model="google/flan-t5-
|
5 |
|
6 |
def generatellm(text):
|
7 |
output_flan = pipeline_flan(text, max_length=100)[0]["generated_text"]
|
|
|
1 |
import gradio as gr
|
2 |
from transformers import pipeline
|
3 |
|
4 |
+
pipeline_flan=pipeline(model="google/flan-t5-xxl")
|
5 |
|
6 |
def generatellm(text):
|
7 |
output_flan = pipeline_flan(text, max_length=100)[0]["generated_text"]
|