jchen8000 commited on
Commit
d626ad8
·
verified ·
1 Parent(s): 826b9df

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -27
app.py CHANGED
@@ -143,33 +143,7 @@ def greet(name):
143
 
144
 
145
 
146
- with gr.Blocks(theme=gr.themes.Ocean()) as demo:
147
- # with gr.Tab("Testing"):
148
- # # Set the title and description for the app.
149
- # gr.Markdown("# Simple Gradio Greeter")
150
- # gr.Markdown("Enter your name and get a personalized greeting!")
151
-
152
- # # Define the input component (a text box for the name).
153
- # name_input = gr.Textbox(
154
- # lines=2,
155
- # placeholder="Enter your name here...",
156
- # label="Your Name"
157
- # )
158
-
159
- # # Define the output component (a text box for the greeting).
160
- # greeting_output = gr.Textbox(label="Greeting")
161
-
162
- # # Add a button that will trigger the 'greet' function when clicked.
163
- # # The 'fn' argument specifies the function to call.
164
- # # The 'inputs' argument specifies which component's value to pass to 'fn'.
165
- # # The 'outputs' argument specifies which component will display the return value of 'fn'.
166
- # submit_button = gr.Button("Get Greeting")
167
- # submit_button.click(
168
- # fn=greet,
169
- # inputs=name_input,
170
- # outputs=greeting_output
171
- # )
172
-
173
  with gr.Tab("Indexig"):
174
  # pdf_input = gr.File(label="Upload PDF", file_types=[".pdf"])
175
  index_button = gr.Button("Index PDF")
 
143
 
144
 
145
 
146
+ with gr.Blocks(theme=gr.themes.Default()) as demo:
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
147
  with gr.Tab("Indexig"):
148
  # pdf_input = gr.File(label="Upload PDF", file_types=[".pdf"])
149
  index_button = gr.Button("Index PDF")