mgokg commited on
Commit
3162e8f
·
verified ·
1 Parent(s): 918ca80

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -3
app.py CHANGED
@@ -41,9 +41,6 @@ if "chat_session" not in st.session_state:
41
  if "display_history" not in st.session_state:
42
  st.session_state.display_history = []
43
 
44
-
45
- messages = st.container()
46
-
47
  def process_audio(audio_data):
48
  """Verarbeitet Audiodaten und gibt Transkript zurück."""
49
  try:
@@ -69,6 +66,7 @@ def process_audio(audio_data):
69
 
70
 
71
  st.title("Gemini-2 Chatbot +🎤")
 
72
 
73
  # Chatverlauf anzeigen
74
  for role, text in st.session_state.display_history:
 
41
  if "display_history" not in st.session_state:
42
  st.session_state.display_history = []
43
 
 
 
 
44
  def process_audio(audio_data):
45
  """Verarbeitet Audiodaten und gibt Transkript zurück."""
46
  try:
 
66
 
67
 
68
  st.title("Gemini-2 Chatbot +🎤")
69
+ messages = st.container()
70
 
71
  # Chatverlauf anzeigen
72
  for role, text in st.session_state.display_history: