vishalkatheriya commited on
Commit
9e9b8c5
·
verified ·
1 Parent(s): d01667b

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -0
app.py CHANGED
@@ -1,5 +1,6 @@
1
  import streamlit as st
2
  from PIL import Image
 
3
  # Initialize session state to block re-running
4
  if 'has_run' not in st.session_state:
5
  st.session_state.has_run = False
@@ -21,5 +22,6 @@ if uploaded_image is not None:
21
  # Mark that the script has been run
22
  st.session_state.has_run = True
23
  st.write(task_prompt,"\n\n",text_input)
 
24
 
25
 
 
1
  import streamlit as st
2
  from PIL import Image
3
+ import inference
4
  # Initialize session state to block re-running
5
  if 'has_run' not in st.session_state:
6
  st.session_state.has_run = False
 
22
  # Mark that the script has been run
23
  st.session_state.has_run = True
24
  st.write(task_prompt,"\n\n",text_input)
25
+ inference.demo()
26
 
27