ofermend commited on
Commit
1f13f87
1 Parent(s): 966dd34

added Vectara image

Browse files
Files changed (3) hide show
  1. README.md +1 -0
  2. Vectara-logo.png +0 -0
  3. app.py +3 -0
README.md CHANGED
@@ -8,6 +8,7 @@ sdk_version: 1.32.2
8
  app_file: app.py
9
  pinned: false
10
  license: apache-2.0
 
11
  ---
12
 
13
  Check out the configuration reference at https://huggingface.co/docs/hub/spaces-config-reference
 
8
  app_file: app.py
9
  pinned: false
10
  license: apache-2.0
11
+ short_description: Debate the AI
12
  ---
13
 
14
  Check out the configuration reference at https://huggingface.co/docs/hub/spaces-config-reference
Vectara-logo.png ADDED
app.py CHANGED
@@ -3,6 +3,7 @@ from omegaconf import OmegaConf
3
  from query import VectaraQuery
4
  import streamlit as st
5
  import os
 
6
 
7
  topics = {
8
  'Standardized testing in education': '266',
@@ -40,6 +41,8 @@ def launch_bot():
40
 
41
  # left side content
42
  with st.sidebar:
 
 
43
  st.markdown(f"## Welcome to Debate Bot.\n\n\n")
44
 
45
  role_options = ['in opposition to', 'in support of']
 
3
  from query import VectaraQuery
4
  import streamlit as st
5
  import os
6
+ from PIL import Image
7
 
8
  topics = {
9
  'Standardized testing in education': '266',
 
41
 
42
  # left side content
43
  with st.sidebar:
44
+ image = Image.open('Vectara-logo.png')
45
+ st.image(image, width=250)
46
  st.markdown(f"## Welcome to Debate Bot.\n\n\n")
47
 
48
  role_options = ['in opposition to', 'in support of']