Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -15,7 +15,7 @@ def predict(input_text):
|
|
15 |
decoded_prediction = tokenizer.decode(outputs[0], skip_special_tokens=True)
|
16 |
return decoded_prediction
|
17 |
|
18 |
-
|
19 |
inputs=gr.inputs.Textbox(lines=2,
|
20 |
placeholder="Enter your text..."),
|
21 |
outputs="text",
|
|
|
15 |
decoded_prediction = tokenizer.decode(outputs[0], skip_special_tokens=True)
|
16 |
return decoded_prediction
|
17 |
|
18 |
+
iface = gr.Interface(fn=predict,
|
19 |
inputs=gr.inputs.Textbox(lines=2,
|
20 |
placeholder="Enter your text..."),
|
21 |
outputs="text",
|