iohanngrig commited on
Commit
d2fd8e4
·
verified ·
1 Parent(s): 9c2085f

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -9
app.py CHANGED
@@ -13,15 +13,6 @@ client = OpenAI()
13
  MODEL = st.secrets["MODEL"]
14
 
15
  def main():
16
-
17
- #title
18
- st.title("Easy OCR - Extract Text from Images")
19
-
20
- #subtitle
21
- st.markdown("## Optical Character Recognition - Using `easyocr`, `streamlit` - hosted on 🤗 Spaces")
22
-
23
- st.markdown("Link to the app - [image-to-text-app on 🤗 Spaces](https://huggingface.co/spaces/iohanngrig/physics_instructor)")
24
-
25
  # Initialize session state variables
26
  if "session_id" not in st.session_state:
27
  st.session_state.session_id = str(uuid.uuid4())
@@ -37,6 +28,7 @@ def main():
37
 
38
  # Set up the page
39
  st.set_page_config(page_title="Physics Instructor", page_icon="⚖️")
 
40
  st.header("Feynman AI (GPT based)")
41
  st.sidebar.title("Physics Instructor")
42
  #st.sidebar.divider()
 
13
  MODEL = st.secrets["MODEL"]
14
 
15
  def main():
 
 
 
 
 
 
 
 
 
16
  # Initialize session state variables
17
  if "session_id" not in st.session_state:
18
  st.session_state.session_id = str(uuid.uuid4())
 
28
 
29
  # Set up the page
30
  st.set_page_config(page_title="Physics Instructor", page_icon="⚖️")
31
+ st.title("Physics Instructor")
32
  st.header("Feynman AI (GPT based)")
33
  st.sidebar.title("Physics Instructor")
34
  #st.sidebar.divider()