Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -17,7 +17,7 @@ def translate_text(text):
|
|
17 |
# Create the Gradio interface
|
18 |
iface = gr.Interface(
|
19 |
fn=translate_text,
|
20 |
-
inputs=gr.
|
21 |
outputs="text",
|
22 |
title="Franco-Arabic to Arabic Translator",
|
23 |
description="Translate Franco-Arabic text to Arabic using the mohamedtolba/franco-arabics model."
|
|
|
17 |
# Create the Gradio interface
|
18 |
iface = gr.Interface(
|
19 |
fn=translate_text,
|
20 |
+
inputs=gr.Textbox(lines=2, placeholder="Enter Franco-Arabic text here..."),
|
21 |
outputs="text",
|
22 |
title="Franco-Arabic to Arabic Translator",
|
23 |
description="Translate Franco-Arabic text to Arabic using the mohamedtolba/franco-arabics model."
|