re-fix demo
Browse files
app.py
CHANGED
@@ -248,9 +248,10 @@ target_languages = [
|
|
248 |
]
|
249 |
|
250 |
# Create an enhanced Gradio interface
|
251 |
-
with gr.Blocks(title="Test-Time Machine Translation with Plan2Align")
|
252 |
-
gr.Markdown("
|
253 |
-
|
|
|
254 |
with gr.Row():
|
255 |
with gr.Column(scale=1):
|
256 |
source_text = gr.Textbox(
|
|
|
248 |
]
|
249 |
|
250 |
# Create an enhanced Gradio interface
|
251 |
+
with gr.Blocks(title="Test-Time Machine Translation with Plan2Align") as demo:
|
252 |
+
gr.Markdown("#Translation with Plan2Align")
|
253 |
+
gr.Markdown("This demo uses the Plan2Align approach to translate Chinese text to your chosen language, showing how the reward model evaluates different translation candidates.")
|
254 |
+
gr.Markdown("Predictive Planning Based Test-Time Preference Alignment in Paragraph-Level Machine Translation")
|
255 |
with gr.Row():
|
256 |
with gr.Column(scale=1):
|
257 |
source_text = gr.Textbox(
|