Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -21,7 +21,7 @@ tokenizer, model = get_model()
|
|
21 |
# )
|
22 |
|
23 |
def generate(text):
|
24 |
-
return pipeline(text, )
|
25 |
|
26 |
with gr.Blocks() as demo:
|
27 |
gr.Markdown("Start typing below and then click **Run** to see the output.")
|
|
|
21 |
# )
|
22 |
|
23 |
def generate(text):
|
24 |
+
return pipeline(text, model, tokenizer)
|
25 |
|
26 |
with gr.Blocks() as demo:
|
27 |
gr.Markdown("Start typing below and then click **Run** to see the output.")
|