Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -14,6 +14,8 @@ import time
|
|
| 14 |
import zipfile
|
| 15 |
import huggingface_hub
|
| 16 |
import dotenv
|
|
|
|
|
|
|
| 17 |
from audio_recorder_streamlit import audio_recorder
|
| 18 |
from bs4 import BeautifulSoup
|
| 19 |
from collections import deque
|
|
@@ -31,7 +33,7 @@ from openai import ChatCompletion
|
|
| 31 |
from PyPDF2 import PdfReader
|
| 32 |
from templates import bot_template, css, user_template
|
| 33 |
from xml.etree import ElementTree as ET
|
| 34 |
-
|
| 35 |
|
| 36 |
|
| 37 |
st.set_page_config(page_title="🐪Llama Whisperer🦙 Voice Chat🌟", layout="wide")
|
|
|
|
| 14 |
import zipfile
|
| 15 |
import huggingface_hub
|
| 16 |
import dotenv
|
| 17 |
+
import streamlit.components.v1 as components # Import Streamlit Components for HTML5
|
| 18 |
+
|
| 19 |
from audio_recorder_streamlit import audio_recorder
|
| 20 |
from bs4 import BeautifulSoup
|
| 21 |
from collections import deque
|
|
|
|
| 33 |
from PyPDF2 import PdfReader
|
| 34 |
from templates import bot_template, css, user_template
|
| 35 |
from xml.etree import ElementTree as ET
|
| 36 |
+
|
| 37 |
|
| 38 |
|
| 39 |
st.set_page_config(page_title="🐪Llama Whisperer🦙 Voice Chat🌟", layout="wide")
|