Spaces:
Running
Running
Upload app.py
Browse files- app/webui/app.py +1 -1
app/webui/app.py
CHANGED
@@ -135,7 +135,7 @@ with gr.Blocks(theme="soft", css=CSS) as demo:
|
|
135 |
output_diff = gr.HighlightedText(visible = False)
|
136 |
with gr.Row():
|
137 |
submit = gr.Button(value="Submit")
|
138 |
-
upload = gr.UploadButton("Upload", file_types="text")
|
139 |
clear = gr.ClearButton([source_text, output_init, output_reflect, output_final])
|
140 |
|
141 |
endpoint.change(fn=update_model, inputs=[endpoint], outputs=[model])
|
|
|
135 |
output_diff = gr.HighlightedText(visible = False)
|
136 |
with gr.Row():
|
137 |
submit = gr.Button(value="Submit")
|
138 |
+
upload = gr.UploadButton(label="Upload", file_types="text")
|
139 |
clear = gr.ClearButton([source_text, output_init, output_reflect, output_final])
|
140 |
|
141 |
endpoint.change(fn=update_model, inputs=[endpoint], outputs=[model])
|