Spaces:
Runtime error
Runtime error
Karthikeyan
commited on
Commit
·
29fa803
1
Parent(s):
deddf21
Update app.py
Browse files
app.py
CHANGED
@@ -80,9 +80,9 @@ def answer_question(question, state):
|
|
80 |
return response
|
81 |
except:
|
82 |
return "Please upload Proper Document"
|
83 |
-
title = """<br><
|
84 |
<center><img class="image" align="center" src="https://templates.images.credential.net/1612472097627370951721412474196.png" alt="Image" width="230" height="230" ></center>
|
85 |
-
<h1><span style="display:inline-block; margin-left: 1em; text-decoration:none; font-weight:bold;">Hudson & Hayes</span> - Document QA</h1>
|
86 |
</p>"""
|
87 |
with gr.Blocks(css="style.css",theme=gr.themes.Soft()) as demo:
|
88 |
state = gr.State(get_empty_state())
|
|
|
80 |
return response
|
81 |
except:
|
82 |
return "Please upload Proper Document"
|
83 |
+
title = """<br><div style="text-align: center;max-width: 700px;">
|
84 |
<center><img class="image" align="center" src="https://templates.images.credential.net/1612472097627370951721412474196.png" alt="Image" width="230" height="230" ></center>
|
85 |
+
<br><br><h1><span style="display:inline-block; margin-left: 1em; text-decoration:none; font-weight:bold;">Hudson & Hayes</span> - Document QA</h1>
|
86 |
</p>"""
|
87 |
with gr.Blocks(css="style.css",theme=gr.themes.Soft()) as demo:
|
88 |
state = gr.State(get_empty_state())
|