Spaces:
Runtime error
Runtime error
darienacosta
commited on
Commit
•
58266b8
1
Parent(s):
3f1a1e2
Update app.py
Browse files
app.py
CHANGED
@@ -1024,7 +1024,7 @@ with gr.Blocks(css=".gradio-container {background-color: lightgray}") as block:
|
|
1024 |
outputs=[num_words_state])
|
1025 |
|
1026 |
with gr.Tab("Embeddings"):
|
1027 |
-
embeddings_text_box = gr.Textbox(label="Enter text for embeddings and hit Create:",
|
1028 |
lines=20)
|
1029 |
|
1030 |
with gr.Row():
|
@@ -1037,12 +1037,12 @@ with gr.Blocks(css=".gradio-container {background-color: lightgray}") as block:
|
|
1037 |
inputs=[embeddings_text_box, embeddings_state, qa_chain_state],
|
1038 |
outputs=[docsearch_state])
|
1039 |
|
1040 |
-
ARC2 = str(ARC)
|
1041 |
-
|
1042 |
-
embeddings2_text_submit = gr.Button(value="Activate", variant="secondary").style(full_width=False)
|
1043 |
-
embeddings2_text_submit.click(update_embeddings,
|
1044 |
-
inputs=[ARC2, embeddings_state, qa_chain_state],
|
1045 |
-
outputs=[docsearch_state])
|
1046 |
|
1047 |
|
1048 |
|
|
|
1024 |
outputs=[num_words_state])
|
1025 |
|
1026 |
with gr.Tab("Embeddings"):
|
1027 |
+
embeddings_text_box = gr.Textbox(value=ARC, label="Enter text for embeddings and hit Create:",
|
1028 |
lines=20)
|
1029 |
|
1030 |
with gr.Row():
|
|
|
1037 |
inputs=[embeddings_text_box, embeddings_state, qa_chain_state],
|
1038 |
outputs=[docsearch_state])
|
1039 |
|
1040 |
+
# ARC2 = str(ARC)
|
1041 |
+
#
|
1042 |
+
# embeddings2_text_submit = gr.Button(value="Activate", variant="secondary").style(full_width=False)
|
1043 |
+
# embeddings2_text_submit.click(update_embeddings,
|
1044 |
+
# inputs=[ARC2, embeddings_state, qa_chain_state],
|
1045 |
+
# outputs=[docsearch_state])
|
1046 |
|
1047 |
|
1048 |
|