Spaces:
Running
Running
david-oplatka
commited on
Commit
•
274d4ba
1
Parent(s):
1163ecc
Fix Language Detection
Browse files
app.py
CHANGED
@@ -175,7 +175,7 @@ def launch_bot():
|
|
175 |
"Demo Type": "Agent",
|
176 |
"query": st.session_state.messages[-2]["content"],
|
177 |
"response": st.session_state.messages[-1]["content"],
|
178 |
-
"Response Language": identifyLanguage(st.session_state.messages[-1])
|
179 |
}
|
180 |
}]
|
181 |
}
|
|
|
175 |
"Demo Type": "Agent",
|
176 |
"query": st.session_state.messages[-2]["content"],
|
177 |
"response": st.session_state.messages[-1]["content"],
|
178 |
+
"Response Language": identifyLanguage(st.session_state.messages[-1]["content"])
|
179 |
}
|
180 |
}]
|
181 |
}
|