Create app.py
Browse files
app.py
ADDED
@@ -0,0 +1,8 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
import gradio as gr
|
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")
|