Update app.py
Browse files
app.py
CHANGED
@@ -73,16 +73,16 @@ with gr.Blocks(theme=gr.themes.Soft()) as demo:
|
|
73 |
show_progress=True
|
74 |
)
|
75 |
|
76 |
-
def load_example():
|
77 |
-
|
78 |
|
79 |
-
with gr.Row():
|
80 |
-
|
81 |
-
|
82 |
-
|
83 |
-
|
84 |
-
|
85 |
-
|
86 |
|
87 |
with gr.Column(scale=200):
|
88 |
gr.Markdown("""#### ***Step 2 - Chat with your docs*** """)
|
|
|
73 |
show_progress=True
|
74 |
)
|
75 |
|
76 |
+
# def load_example():
|
77 |
+
# return [EXAMPLE_FILE]
|
78 |
|
79 |
+
# with gr.Row():
|
80 |
+
# gr.Examples(
|
81 |
+
# examples=[[EXAMPLE_FILE]],
|
82 |
+
# inputs=file_input,
|
83 |
+
# examples_per_page=1,
|
84 |
+
# label="Click to upload an example"
|
85 |
+
# ).dataset.click(fn=load_example, inputs=[], outputs=file_input)
|
86 |
|
87 |
with gr.Column(scale=200):
|
88 |
gr.Markdown("""#### ***Step 2 - Chat with your docs*** """)
|