Spaces:
Runtime error
Runtime error
Commit
·
9b2b028
1
Parent(s):
930b1eb
Update app.py
Browse files
app.py
CHANGED
|
@@ -52,7 +52,11 @@ chat = ChatWrapper()
|
|
| 52 |
block = gr.Blocks(css=".gradio-container {background-color: #04A7E3}")
|
| 53 |
|
| 54 |
image_url = "https://www.thebotforge.io/wp-content/uploads/2022/01/the-bot-forge-logo-100px.png"
|
|
|
|
| 55 |
with block:
|
|
|
|
|
|
|
|
|
|
| 56 |
with gr.Row():
|
| 57 |
gr.Markdown("<h2><center>The Bot Forge</h2></center><h3> <center>Chat about - State-of-the-Union 2023</center></h3>")
|
| 58 |
|
|
@@ -74,7 +78,7 @@ with block:
|
|
| 74 |
submit = gr.Button(value="Send", variant="secondary").style(full_width=False)
|
| 75 |
|
| 76 |
gr.Examples(
|
| 77 |
-
examples=[
|
| 78 |
"What did the president say about Kentaji Brown Jackson",
|
| 79 |
"Did he mention Stephen Breyer?",
|
| 80 |
"What was his stance on Ukraine",
|
|
|
|
| 52 |
block = gr.Blocks(css=".gradio-container {background-color: #04A7E3}")
|
| 53 |
|
| 54 |
image_url = "https://www.thebotforge.io/wp-content/uploads/2022/01/the-bot-forge-logo-100px.png"
|
| 55 |
+
html = "<img src='%s'>" % image_url
|
| 56 |
with block:
|
| 57 |
+
with gr.Row():
|
| 58 |
+
gr.HTML(html)
|
| 59 |
+
|
| 60 |
with gr.Row():
|
| 61 |
gr.Markdown("<h2><center>The Bot Forge</h2></center><h3> <center>Chat about - State-of-the-Union 2023</center></h3>")
|
| 62 |
|
|
|
|
| 78 |
submit = gr.Button(value="Send", variant="secondary").style(full_width=False)
|
| 79 |
|
| 80 |
gr.Examples(
|
| 81 |
+
examples=[
|
| 82 |
"What did the president say about Kentaji Brown Jackson",
|
| 83 |
"Did he mention Stephen Breyer?",
|
| 84 |
"What was his stance on Ukraine",
|