Spaces:
Running
Running
Karthikeyan
commited on
Commit
·
6814921
1
Parent(s):
2a34de3
Update app.py
Browse files
app.py
CHANGED
@@ -83,7 +83,13 @@ def answer_question(question, state):
|
|
83 |
return response
|
84 |
except:
|
85 |
return "Please upload Proper Document"
|
86 |
-
title = """<div style="text-align: center;max-width: 700px;"
|
|
|
|
|
|
|
|
|
|
|
|
|
87 |
with gr.Blocks(css="style.css",theme=gr.themes.Soft()) as demo:
|
88 |
state = gr.State(get_empty_state())
|
89 |
with gr.Column(elem_id="col-container"):
|
|
|
83 |
return response
|
84 |
except:
|
85 |
return "Please upload Proper Document"
|
86 |
+
title = """<div style="text-align: center;max-width: 700px;">
|
87 |
+
<a style="display:inline-block; margin-left: 1em" href="https://www.adople.com">
|
88 |
+
<img src="https://lh6.googleusercontent.com/FQJXx8B6Tbq7SvSE3wvJyXusFZxKcsY92eQaPnZj5pIDdXHVjs10tXXBqWcF0BgC_riSFcje2qUd-XWaiaJByI6dMOkEFdAtpeG7KK8xh7nH8KE3GfSOMrySKPVWXGdEvg=w1280" alt="Adople AI">
|
89 |
+
</a>
|
90 |
+
<h1>ADOPLE AI - Document ChatBot</h1>
|
91 |
+
<p style="text-align: center;">Upload a PDF, click the "Load PDF" button"
|
92 |
+
</p>"""
|
93 |
with gr.Blocks(css="style.css",theme=gr.themes.Soft()) as demo:
|
94 |
state = gr.State(get_empty_state())
|
95 |
with gr.Column(elem_id="col-container"):
|