vr18 commited on
Commit
cb97b3c
β€’
1 Parent(s): dce74f9

Upload app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -2
app.py CHANGED
@@ -9,7 +9,7 @@ import streamlit as st
9
  import gradio as gr
10
  from gradio.components import Textbox, Slider
11
 
12
- openai.api_key = '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'
13
 
14
  # write some python constants for file name, paragraph length, overlapping length:
15
  file_path = "data/Hair-Relaxer-Master-Complaint-1.pdf"
@@ -128,7 +128,8 @@ def run():
128
  Textbox(lines=1, placeholder="Type your question here...", label="Question"),
129
  Slider(minimum=1, maximum=20, default=4, step=1, label="Number of Documents in Context")
130
  ],
131
- outputs="text"
 
132
  )
133
 
134
  demo.launch()
 
9
  import gradio as gr
10
  from gradio.components import Textbox, Slider
11
 
12
+ openai.api_key = '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'
13
 
14
  # write some python constants for file name, paragraph length, overlapping length:
15
  file_path = "data/Hair-Relaxer-Master-Complaint-1.pdf"
 
128
  Textbox(lines=1, placeholder="Type your question here...", label="Question"),
129
  Slider(minimum=1, maximum=20, default=4, step=1, label="Number of Documents in Context")
130
  ],
131
+ outputs="text",
132
+ theme="dark"
133
  )
134
 
135
  demo.launch()