skoneru commited on
Commit
180720d
·
1 Parent(s): f700e5b

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -2
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_theme.png')}"
72
  iface = gr.Interface(
73
  fn=translate,
74
  inputs=[gr.Textbox(lines=2, placeholder="Enter your English Senteces 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")],
@@ -83,7 +83,6 @@ iface = gr.Interface(
83
  ],
84
  title="Contextual Refinement of Translations: Integrating Manual Feedback",
85
  description=description,
86
- css = css_code
87
  )
88
 
89
  iface.launch(share=True)
 
68
  description = f.readlines()
69
  description = "\n".join(description)
70
 
71
+ #css_code = ".gradio-container {background: url('file=background_theme.png')}"
72
  iface = gr.Interface(
73
  fn=translate,
74
  inputs=[gr.Textbox(lines=2, placeholder="Enter your English Senteces 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")],
 
83
  ],
84
  title="Contextual Refinement of Translations: Integrating Manual Feedback",
85
  description=description,
 
86
  )
87
 
88
  iface.launch(share=True)