Spaces:
Running
Running
Karthikeyan
commited on
Commit
·
f854776
1
Parent(s):
5ce600b
Update app.py
Browse files
app.py
CHANGED
@@ -81,8 +81,7 @@ def answer_question(question, state):
|
|
81 |
except:
|
82 |
return "Please upload Proper Document"
|
83 |
title = """<br><br><br><div style="text-align: center;max-width: 700px;">
|
84 |
-
<h1><a style="display:inline-block; margin-left: 1em; text-decoration:none; font-weight:bold;" href="https://www.adople.com">ADOPLE AI</a> - Document
|
85 |
-
<p style="text-align: center;">Upload a PDF, click the "Load PDF" button"
|
86 |
</p>"""
|
87 |
with gr.Blocks(css="style.css",theme=gr.themes.Soft()) as demo:
|
88 |
state = gr.State(get_empty_state())
|
|
|
81 |
except:
|
82 |
return "Please upload Proper Document"
|
83 |
title = """<br><br><br><div style="text-align: center;max-width: 700px;">
|
84 |
+
<h1><a style="display:inline-block; margin-left: 1em; text-decoration:none; font-weight:bold;" href="https://www.adople.com">ADOPLE AI</a> - Document QA</h1>
|
|
|
85 |
</p>"""
|
86 |
with gr.Blocks(css="style.css",theme=gr.themes.Soft()) as demo:
|
87 |
state = gr.State(get_empty_state())
|