Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -37,7 +37,7 @@ with st.sidebar:
|
|
37 |
print("Link uploaded:"+video_url)
|
38 |
|
39 |
st.success("Done")
|
40 |
-
|
41 |
with st.container(height=200):
|
42 |
st.markdown(console_out)
|
43 |
|
@@ -51,7 +51,7 @@ if user_prompt and (uploaded_file or video_url):
|
|
51 |
# Trigger assistant's response retrieval and update UI
|
52 |
with st.spinner("Thinking..."):
|
53 |
response = "I have an answer coming soon..."
|
54 |
-
console_out
|
55 |
with st.chat_message("user", avatar="robot.png"):
|
56 |
st.write_stream(streamer(response))
|
57 |
st.session_state.messages.append({'role': 'assistant', "content": response})
|
|
|
37 |
print("Link uploaded:"+video_url)
|
38 |
|
39 |
st.success("Done")
|
40 |
+
st.markdown("Console:")
|
41 |
with st.container(height=200):
|
42 |
st.markdown(console_out)
|
43 |
|
|
|
51 |
# Trigger assistant's response retrieval and update UI
|
52 |
with st.spinner("Thinking..."):
|
53 |
response = "I have an answer coming soon..."
|
54 |
+
console_out=console_out+response+"\n"
|
55 |
with st.chat_message("user", avatar="robot.png"):
|
56 |
st.write_stream(streamer(response))
|
57 |
st.session_state.messages.append({'role': 'assistant', "content": response})
|