Spaces:
Runtime error
Runtime error
ffreemt
commited on
Commit
•
e715dd4
1
Parent(s):
e28efb2
Update unicode symbols
Browse files
app.py
CHANGED
@@ -819,7 +819,7 @@ with gr.Blocks(theme=gr.themes.Soft()) as demo:
|
|
819 |
# greet_btn.click(fn=greet, inputs=name, outputs=output, api_name="greet")
|
820 |
#
|
821 |
# ### layout ###
|
822 |
-
with gr.Accordion("Info", open=False):
|
823 |
_ = """
|
824 |
# localgpt
|
825 |
Talk to your docs (.pdf, .docx, .epub, .txt .md and
|
@@ -833,7 +833,7 @@ with gr.Blocks(theme=gr.themes.Soft()) as demo:
|
|
833 |
"""
|
834 |
gr.Markdown(dedent(_))
|
835 |
|
836 |
-
with gr.Tab("Upload files"):
|
837 |
# Upload files and generate vectorstore
|
838 |
with gr.Row():
|
839 |
file_output = gr.File()
|
@@ -850,7 +850,7 @@ with gr.Blocks(theme=gr.themes.Soft()) as demo:
|
|
850 |
|
851 |
reset_btn = gr.Button("Reset everything", visibile=True)
|
852 |
|
853 |
-
with gr.Tab("Query docs"):
|
854 |
# interactive chat
|
855 |
chatbot = gr.Chatbot()
|
856 |
msg = gr.Textbox(label="Query")
|
|
|
819 |
# greet_btn.click(fn=greet, inputs=name, outputs=output, api_name="greet")
|
820 |
#
|
821 |
# ### layout ###
|
822 |
+
with gr.Accordion("ℹInfo", open=False):
|
823 |
_ = """
|
824 |
# localgpt
|
825 |
Talk to your docs (.pdf, .docx, .epub, .txt .md and
|
|
|
833 |
"""
|
834 |
gr.Markdown(dedent(_))
|
835 |
|
836 |
+
with gr.Tab("🖹Upload files"):
|
837 |
# Upload files and generate vectorstore
|
838 |
with gr.Row():
|
839 |
file_output = gr.File()
|
|
|
850 |
|
851 |
reset_btn = gr.Button("Reset everything", visibile=True)
|
852 |
|
853 |
+
with gr.Tab("🤖Query docs"):
|
854 |
# interactive chat
|
855 |
chatbot = gr.Chatbot()
|
856 |
msg = gr.Textbox(label="Query")
|