Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -522,7 +522,7 @@ with tab2:
|
|
522 |
|
523 |
|
524 |
# Button to generate text
|
525 |
-
if st.button("
|
526 |
prompt = f"Translate the following {source_lang} text to {target_lang}: " + user_input + " ONLY TRANSLATE DON'T ADD ANY ADDITIONAL DETAILS"
|
527 |
|
528 |
# Generate text
|
|
|
522 |
|
523 |
|
524 |
# Button to generate text
|
525 |
+
if st.button("Translate"):
|
526 |
prompt = f"Translate the following {source_lang} text to {target_lang}: " + user_input + " ONLY TRANSLATE DON'T ADD ANY ADDITIONAL DETAILS"
|
527 |
|
528 |
# Generate text
|