Sharathhebbar24 commited on
Commit
c1eb2a5
·
1 Parent(s): 98df2e3

Update main.py

Browse files
Files changed (1) hide show
  1. main.py +6 -6
main.py CHANGED
@@ -57,13 +57,13 @@ class UserInterface():
57
  def form_data(self):
58
 
59
  try:
60
- if not self.API_KEY.startswith('hf_'):
61
- st.warning('Please enter your API key!', icon='⚠')
62
- text_input_visibility = True
63
- else:
64
- text_input_visibility = False
65
 
66
-
67
  if "messages" not in st.session_state:
68
  st.session_state.messages = []
69
 
 
57
  def form_data(self):
58
 
59
  try:
60
+ # if not self.API_KEY.startswith('hf_'):
61
+ # st.warning('Please enter your API key!', icon='⚠')
62
+ # text_input_visibility = True
63
+ # else:
64
+ # text_input_visibility = False
65
 
66
+ text_input_visibility = False
67
  if "messages" not in st.session_state:
68
  st.session_state.messages = []
69