AjayKr09 commited on
Commit
ca71e1e
·
verified ·
1 Parent(s): 5afdb81

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -3
app.py CHANGED
@@ -10,13 +10,13 @@ llm = ChatOpenAI(model='gpt-3.5-turbo', temperature=0, max_tokens=150)
10
  st.header("Translation Application")
11
 
12
  il = st.selectbox(
13
- "How would you like to be contacted?",
14
  ("Hindi", "English", "Bengali"))
15
 
16
  st.write("You selected:", il)
17
 
18
  ol = st.selectbox(
19
- "How would you like to be contacted?",
20
  ("Hindi", "English", "Bengali"))
21
 
22
  st.write("You selected:", ol)
@@ -26,7 +26,6 @@ prompt = ChatPromptTemplate.from_messages(
26
  'user', '{i}']
27
  )
28
 
29
-
30
  input_text = st.text_area('Input Text', height=300)
31
 
32
  chain = prompt|llm
 
10
  st.header("Translation Application")
11
 
12
  il = st.selectbox(
13
+ "Please select a Language?",
14
  ("Hindi", "English", "Bengali"))
15
 
16
  st.write("You selected:", il)
17
 
18
  ol = st.selectbox(
19
+ "Please select a Language?",
20
  ("Hindi", "English", "Bengali"))
21
 
22
  st.write("You selected:", ol)
 
26
  'user', '{i}']
27
  )
28
 
 
29
  input_text = st.text_area('Input Text', height=300)
30
 
31
  chain = prompt|llm