Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -23,7 +23,7 @@ def translate(text):
|
|
23 |
return translation
|
24 |
|
25 |
# Create the Gradio interface with a placeholder in the text box
|
26 |
-
textbox = gr.
|
27 |
|
28 |
demo = gr.Interface(fn=translate, inputs=textbox, outputs="text")
|
29 |
|
|
|
23 |
return translation
|
24 |
|
25 |
# Create the Gradio interface with a placeholder in the text box
|
26 |
+
textbox = gr.Textbox(placeholder="Enter English text to translate...")
|
27 |
|
28 |
demo = gr.Interface(fn=translate, inputs=textbox, outputs="text")
|
29 |
|