Spaces:
Build error
Build error
Update app.py
Browse files
app.py
CHANGED
@@ -3,7 +3,7 @@ import gradio as gr
|
|
3 |
|
4 |
model_flax = FlaxT5ForConditionalGeneration.from_pretrained("thegoodfellas/tgf-flan-t5-base-ptbr")
|
5 |
|
6 |
-
def summarize():
|
7 |
pass
|
8 |
|
9 |
demo = gr.Interface(fn=summarize,
|
|
|
3 |
|
4 |
model_flax = FlaxT5ForConditionalGeneration.from_pretrained("thegoodfellas/tgf-flan-t5-base-ptbr")
|
5 |
|
6 |
+
def summarize(text):
|
7 |
pass
|
8 |
|
9 |
demo = gr.Interface(fn=summarize,
|