skoneru commited on
Commit
2dff11f
·
1 Parent(s): dd04309

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -68,7 +68,7 @@ with open('description.md',mode='r',encoding='utf-8') as f:
68
  description = f.readlines()
69
  description = "\n".join(description)
70
 
71
- css_code = ".gradio-container {background: url('file=background.jpeg');}"
72
  iface = gr.Interface(
73
  fn=translate,
74
  inputs=[gr.Textbox(lines=2, placeholder="Enter your English Sentences that you want to translate", label="English Sentences"), gr.Textbox(lines=2, placeholder="Enter your sentence-level German Tranlations that you want to post-edit using Llama2",label="Sentence-Level German Translations"),gr.Textbox(lines=2, placeholder="Enter your partially corrected translation and the model will continue from there - Can be left empty or generate the output once and correct it later :)", label="Manual Post-Edited German Translation")],
 
68
  description = f.readlines()
69
  description = "\n".join(description)
70
 
71
+ css_code = ".gradio-container {background: url('file=background.png');}"
72
  iface = gr.Interface(
73
  fn=translate,
74
  inputs=[gr.Textbox(lines=2, placeholder="Enter your English Sentences that you want to translate", label="English Sentences"), gr.Textbox(lines=2, placeholder="Enter your sentence-level German Tranlations that you want to post-edit using Llama2",label="Sentence-Level German Translations"),gr.Textbox(lines=2, placeholder="Enter your partially corrected translation and the model will continue from there - Can be left empty or generate the output once and correct it later :)", label="Manual Post-Edited German Translation")],