Soumen commited on
Commit
ebcff05
1 Parent(s): f1ebc19

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +7 -7
app.py CHANGED
@@ -83,21 +83,21 @@ def bansum(text):
83
  text_output = out[0]["summary_text"]
84
  st.success(text_output)
85
 
86
- if "photo" not in st.session_state:
87
- st.session_state["photo"]="not done"
88
- c2, c3 = st.columns([1,1])
89
- a, b = st.columns([1, 1])
90
- def change_photo_state():
91
- st.session_state["photo"]="done"
92
  @st.cache
93
  def save(l):
94
  return l
95
  #@st.cache
96
  def main():
 
 
 
 
 
 
 
97
  with st.container():
98
  with a:
99
  #import torch
100
- import streamlit as st
101
  from streamlit_option_menu import option_menu
102
  from streamlit_chat import message as st_message
103
  from transformers import BlenderbotTokenizer
 
83
  text_output = out[0]["summary_text"]
84
  st.success(text_output)
85
 
 
 
 
 
 
 
86
  @st.cache
87
  def save(l):
88
  return l
89
  #@st.cache
90
  def main():
91
+ import streamlit as st
92
+ if "photo" not in st.session_state:
93
+ st.session_state["photo"]="not done"
94
+ c2, c3 = st.columns([1,1])
95
+ a, b = st.columns([1, 1])
96
+ def change_photo_state():
97
+ st.session_state["photo"]="done"
98
  with st.container():
99
  with a:
100
  #import torch
 
101
  from streamlit_option_menu import option_menu
102
  from streamlit_chat import message as st_message
103
  from transformers import BlenderbotTokenizer