Update app.py
Browse files
app.py
CHANGED
|
@@ -2,7 +2,9 @@ import gradio as gr
|
|
| 2 |
|
| 3 |
demo = gr.Blocks()
|
| 4 |
with demo:
|
| 5 |
-
|
| 6 |
text = gr.Textbox()
|
| 7 |
-
|
| 8 |
b1 = gr.Button("Analyze File")
|
|
|
|
|
|
|
|
|
| 2 |
|
| 3 |
demo = gr.Blocks()
|
| 4 |
with demo:
|
| 5 |
+
txt_file = gr.File(type="txt",label='CONTRACT')
|
| 6 |
text = gr.Textbox()
|
| 7 |
+
gr.Dropdown(choices=questions,label='SEARCH QUERY')
|
| 8 |
b1 = gr.Button("Analyze File")
|
| 9 |
+
|
| 10 |
+
demo.launch()
|