Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
@@ -31,7 +31,8 @@ from helper import parse_transcription,hindi_to_english,translate_english_to_hin
|
|
31 |
def extract_text_from_html(html):
|
32 |
cleanr = re.compile('<.*?>')
|
33 |
cleantext = re.sub(cleanr, '', html)
|
34 |
-
def conversational_chat(llm_chain,query):
|
|
|
35 |
output = llm_chain.predict(human_input=query)
|
36 |
return extract_text_from_html(output)
|
37 |
|
|
|
31 |
def extract_text_from_html(html):
|
32 |
cleanr = re.compile('<.*?>')
|
33 |
cleantext = re.sub(cleanr, '', html)
|
34 |
+
def conversational_chat(llm_chain,query):
|
35 |
+
qery='Behave like a customer call agent and Dont do these website address, compnay name or any other parameter'+query
|
36 |
output = llm_chain.predict(human_input=query)
|
37 |
return extract_text_from_html(output)
|
38 |
|