Abdulmohsena commited on
Commit
be4f47d
·
verified ·
1 Parent(s): 99ed2ba

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -26,13 +26,13 @@ def translate(text, temperature=0.1, tries=1):
26
 
27
  # Gradio interface
28
  with gr.Blocks() as demo:
29
- gr.Markdown("# Machine Translation to Classical Arabic")
30
 
31
  # Input text box
32
  input_text = gr.Textbox(label="Input Text", placeholder="Enter text to translate from English to Classical Arabic")
33
 
34
  # Output text box
35
- output_text = gr.Textbox(label="Translated Text")
36
 
37
  # Button to trigger translation
38
  translate_btn = gr.Button("Translate")
 
26
 
27
  # Gradio interface
28
  with gr.Blocks() as demo:
29
+ gr.Markdown("# Faseeh: The Elequent Arabic Translator")
30
 
31
  # Input text box
32
  input_text = gr.Textbox(label="Input Text", placeholder="Enter text to translate from English to Classical Arabic")
33
 
34
  # Output text box
35
+ output_text = gr.Textbox(label="ادخل نصا لتترجمه من الأنجليزية الى العربية الفصيحة")
36
 
37
  # Button to trigger translation
38
  translate_btn = gr.Button("Translate")