huckiyang commited on
Commit
52e3281
·
1 Parent(s): d3515b8

re-fix demo

Browse files
Files changed (1) hide show
  1. app.py +4 -3
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("Showing how the reward model evaluates different translation candidates. Plan2Align 2025. Predictive Planning Based Test-Time Preference Alignmentin Paragraph-Level Machine Translation")
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(