Update app_chat.py
Browse files- app_chat.py +2 -3
app_chat.py
CHANGED
|
@@ -7,7 +7,7 @@ from PIL import Image
|
|
| 7 |
from pydub import AudioSegment
|
| 8 |
import IPython
|
| 9 |
import soundfile as sf
|
| 10 |
-
from app_agent_config import tool_checkboxes, url_endpoint
|
| 11 |
|
| 12 |
import pandas as pd # If you're working with DataFrames
|
| 13 |
import matplotlib.figure # If you're using matplotlib figures
|
|
@@ -24,8 +24,7 @@ import pydeck as pdk
|
|
| 24 |
|
| 25 |
# Call app_agent_config to set the global variables
|
| 26 |
|
| 27 |
-
def app_chat():
|
| 28 |
-
|
| 29 |
# Chat code (user input, agent responses, etc.)
|
| 30 |
if "messages" not in st.session_state:
|
| 31 |
st.session_state.messages = []
|
|
|
|
| 7 |
from pydub import AudioSegment
|
| 8 |
import IPython
|
| 9 |
import soundfile as sf
|
| 10 |
+
from app_agent_config import tool_checkboxes, url_endpoint, log_enabled
|
| 11 |
|
| 12 |
import pandas as pd # If you're working with DataFrames
|
| 13 |
import matplotlib.figure # If you're using matplotlib figures
|
|
|
|
| 24 |
|
| 25 |
# Call app_agent_config to set the global variables
|
| 26 |
|
| 27 |
+
def app_chat(tool_checkboxes, url_endpoint, log_enabled):
|
|
|
|
| 28 |
# Chat code (user input, agent responses, etc.)
|
| 29 |
if "messages" not in st.session_state:
|
| 30 |
st.session_state.messages = []
|