warhawkmonk commited on
Commit
70c3e2d
·
verified ·
1 Parent(s): f410a9b

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +6 -2
app.py CHANGED
@@ -29,7 +29,11 @@ import streamlit.components.v1 as components
29
  from datetime import datetime
30
  from streamlit_js_eval import streamlit_js_eval
31
  from streamlit_pdf_viewer import pdf_viewer
32
- from groq import Groq
 
 
 
 
33
  def consume_llm_api(prompt):
34
  """
35
  Sends a prompt to the LLM API and processes the streamed response.
@@ -215,7 +219,7 @@ drawing_mode = st.sidebar.selectbox(
215
  )
216
 
217
 
218
- dictionary=st.session_state
219
  if "every_prompt_with_val" not in dictionary:
220
  dictionary['every_prompt_with_val']=[]
221
  if "current_image" not in dictionary:
 
29
  from datetime import datetime
30
  from streamlit_js_eval import streamlit_js_eval
31
  from streamlit_pdf_viewer import pdf_viewer
32
+ # from groq import Groq
33
+
34
+
35
+
36
+ dictionary=st.session_state
37
  def consume_llm_api(prompt):
38
  """
39
  Sends a prompt to the LLM API and processes the streamed response.
 
219
  )
220
 
221
 
222
+
223
  if "every_prompt_with_val" not in dictionary:
224
  dictionary['every_prompt_with_val']=[]
225
  if "current_image" not in dictionary: