Spaces:
Running
Running
clementsan
commited on
Commit
•
3ca2785
1
Parent(s):
5be8df6
Fix vector_db as gradio state
Browse files
app.py
CHANGED
@@ -177,7 +177,7 @@ def upload_file(file_obj):
|
|
177 |
|
178 |
def demo():
|
179 |
with gr.Blocks(theme="base") as demo:
|
180 |
-
vector_db = gr.
|
181 |
# qa_chain = gr.Variable()
|
182 |
|
183 |
gr.Markdown(
|
@@ -236,4 +236,3 @@ def demo():
|
|
236 |
|
237 |
if __name__ == "__main__":
|
238 |
demo()
|
239 |
-
|
|
|
177 |
|
178 |
def demo():
|
179 |
with gr.Blocks(theme="base") as demo:
|
180 |
+
vector_db = gr.State()
|
181 |
# qa_chain = gr.Variable()
|
182 |
|
183 |
gr.Markdown(
|
|
|
236 |
|
237 |
if __name__ == "__main__":
|
238 |
demo()
|
|