Update app_chat.py
Browse files- app_chat.py +21 -0
app_chat.py
CHANGED
@@ -1,4 +1,25 @@
|
|
1 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2 |
|
3 |
def app_chat():
|
4 |
|
|
|
1 |
|
2 |
+
import streamlit as st
|
3 |
+
from controller import handle_submission
|
4 |
+
# For Altair charts
|
5 |
+
import altair as alt
|
6 |
+
from PIL import Image
|
7 |
+
from pydub import AudioSegment
|
8 |
+
import IPython
|
9 |
+
import soundfile as sf
|
10 |
+
|
11 |
+
import pandas as pd # If you're working with DataFrames
|
12 |
+
import matplotlib.figure # If you're using matplotlib figures
|
13 |
+
import numpy as np
|
14 |
+
|
15 |
+
# For Bokeh charts
|
16 |
+
from bokeh.models import Plot
|
17 |
+
|
18 |
+
# For Plotly charts
|
19 |
+
import plotly.express as px
|
20 |
+
|
21 |
+
# For Pydeck charts
|
22 |
+
import pydeck as pdk
|
23 |
|
24 |
def app_chat():
|
25 |
|