HarshaBattula
commited on
Commit
·
1f5af8e
1
Parent(s):
a9e9e50
removed share command
Browse files
app.py
CHANGED
|
@@ -32,7 +32,6 @@ def load_embeddings_database_from_disk(persistence_directory, embeddings_generat
|
|
| 32 |
return vector_database
|
| 33 |
|
| 34 |
|
| 35 |
-
|
| 36 |
# Specify the directory where the database will be stored when it's persisted.
|
| 37 |
persistence_directory = 'db'
|
| 38 |
# Create and persist the embeddings for the documents.
|
|
@@ -49,4 +48,4 @@ inputs = gr.inputs.Textbox(lines=7, label="Coversational Interface with Chat his
|
|
| 49 |
outputs = gr.outputs.Textbox(label="Reply")
|
| 50 |
|
| 51 |
gr.Interface(fn=chatbot, inputs=inputs, outputs=outputs, title="Retrieval Augmented Question Answering",
|
| 52 |
-
show_progress = True, theme="compact").launch(
|
|
|
|
| 32 |
return vector_database
|
| 33 |
|
| 34 |
|
|
|
|
| 35 |
# Specify the directory where the database will be stored when it's persisted.
|
| 36 |
persistence_directory = 'db'
|
| 37 |
# Create and persist the embeddings for the documents.
|
|
|
|
| 48 |
outputs = gr.outputs.Textbox(label="Reply")
|
| 49 |
|
| 50 |
gr.Interface(fn=chatbot, inputs=inputs, outputs=outputs, title="Retrieval Augmented Question Answering",
|
| 51 |
+
show_progress = True, theme="compact").launch(debug=True)
|