Spaces:
Build error
Build error
Update app.py
Browse files
app.py
CHANGED
|
@@ -33,7 +33,7 @@ def extract_text_from_html(html):
|
|
| 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 |
|
| 38 |
def save_uploaded_file_as_mp3(uploaded_file, output_file_path):
|
| 39 |
audio = AudioSegment.from_file(uploaded_file)
|
|
|
|
| 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 |
|
| 38 |
def save_uploaded_file_as_mp3(uploaded_file, output_file_path):
|
| 39 |
audio = AudioSegment.from_file(uploaded_file)
|