Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -29,6 +29,7 @@ def text2text(input_text):
|
|
29 |
with gr.Blocks() as demo:
|
30 |
|
31 |
txt_in = gr.Textbox(label="Input", lines=2)
|
|
|
32 |
txt_out = gr.Textbox(value="", label="Output")
|
33 |
|
34 |
|
@@ -38,7 +39,7 @@ with gr.Blocks() as demo:
|
|
38 |
|
39 |
gr.Examples(
|
40 |
examples=get_examples(),
|
41 |
-
inputs=[txt_in]
|
42 |
)
|
43 |
|
44 |
|
|
|
29 |
with gr.Blocks() as demo:
|
30 |
|
31 |
txt_in = gr.Textbox(label="Input", lines=2)
|
32 |
+
correct_label = gr.Label(label="Correct")
|
33 |
txt_out = gr.Textbox(value="", label="Output")
|
34 |
|
35 |
|
|
|
39 |
|
40 |
gr.Examples(
|
41 |
examples=get_examples(),
|
42 |
+
inputs=[txt_in,correct_label]
|
43 |
)
|
44 |
|
45 |
|