Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -17,7 +17,7 @@ st.selectbox("Input Langauge: ",options)
|
|
| 17 |
|
| 18 |
st.selectbox("Output langauge: ",options)
|
| 19 |
|
| 20 |
-
st.text_input("Text Input: ")
|
| 21 |
|
| 22 |
if st.button("Submit"):
|
| 23 |
|
|
@@ -28,7 +28,7 @@ if st.button("Submit"):
|
|
| 28 |
|
| 29 |
chain = prompt|llm
|
| 30 |
|
| 31 |
-
re = chain.invoke({"il":"english","ol":"french", "i":
|
| 32 |
|
| 33 |
st.write(re.content)
|
| 34 |
|
|
|
|
| 17 |
|
| 18 |
st.selectbox("Output langauge: ",options)
|
| 19 |
|
| 20 |
+
text = st.text_input("Text Input: ")
|
| 21 |
|
| 22 |
if st.button("Submit"):
|
| 23 |
|
|
|
|
| 28 |
|
| 29 |
chain = prompt|llm
|
| 30 |
|
| 31 |
+
re = chain.invoke({"il":"english","ol":"french", "i":text})
|
| 32 |
|
| 33 |
st.write(re.content)
|
| 34 |
|