Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -37,7 +37,7 @@ def generate(input_text, minimum_length, maximum_length, beam_amount, temperatur
|
|
37 |
title = "Flan-T5-XL Inference on GRADIO GUI"
|
38 |
|
39 |
def inference(input_text, minimum_length, maximum_length, beam_amount, temperature, length_penalty, repetition_penalty):
|
40 |
-
return generate(input_text, minimum_length, maximum_length, beam_amount,
|
41 |
|
42 |
io = gr.Interface(
|
43 |
fn=inference,
|
|
|
37 |
title = "Flan-T5-XL Inference on GRADIO GUI"
|
38 |
|
39 |
def inference(input_text, minimum_length, maximum_length, beam_amount, temperature, length_penalty, repetition_penalty):
|
40 |
+
return generate(input_text, minimum_length, maximum_length, beam_amount, temperature, length_penalty, repetition_penalty)
|
41 |
|
42 |
io = gr.Interface(
|
43 |
fn=inference,
|