salomonsky commited on
Commit
c4ed496
·
verified ·
1 Parent(s): 46c390b

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -1
app.py CHANGED
@@ -5,6 +5,7 @@ import base64
5
  from pydub import AudioSegment
6
  from pydub.playback import play
7
 
 
8
  client = InferenceClient("mistralai/Mixtral-8x7B-Instruct-v0.1")
9
  pre_prompt = "Tu nombre será Chaman 3.0 una IA conductual, hablarás español tu rol es la bioética y el estoicismo holístico."
10
  pre_prompt_sent = False
@@ -74,7 +75,7 @@ output, audio_bytes = generate(user_input, history=st.session_state.history)
74
  if user_input:
75
  st.session_state.history.append((user_input, output))
76
 
77
- st.text_area("Salida del Chatbot", value=output, height=500, max_chars=600, key="output_text", disabled=True, style={'width': '100%'})
78
 
79
  st.markdown(
80
  f"""
 
5
  from pydub import AudioSegment
6
  from pydub.playback import play
7
 
8
+ st.sidebar.width = 100
9
  client = InferenceClient("mistralai/Mixtral-8x7B-Instruct-v0.1")
10
  pre_prompt = "Tu nombre será Chaman 3.0 una IA conductual, hablarás español tu rol es la bioética y el estoicismo holístico."
11
  pre_prompt_sent = False
 
75
  if user_input:
76
  st.session_state.history.append((user_input, output))
77
 
78
+ st.text_area("Salida del Chatbot", value=output, height=500, max_chars=600, key="output_text", disabled=True)
79
 
80
  st.markdown(
81
  f"""