Dharma20 commited on
Commit
fbe13c5
·
verified ·
1 Parent(s): b178dc4

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +9 -9
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
- 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*** """)
 
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*** """)