Update app.py
Browse files
app.py
CHANGED
@@ -98,8 +98,6 @@ def ask(query):
|
|
98 |
|
99 |
|
100 |
intro_text = '''
|
101 |
-
# Ask the textbook
|
102 |
-
|
103 |
This app responds to your questions by looking up the most relevant selections from the textbook, and asking ChatGPT to respond based on the selections. It can take up to 30 seconds to respond.
|
104 |
'''
|
105 |
|
@@ -122,6 +120,8 @@ This app uses sentence embeddings and a large language model to craft the respon
|
|
122 |
block = gr.Blocks(theme = 'bethecloud/storj_theme')
|
123 |
|
124 |
with block:
|
|
|
|
|
125 |
gr.Markdown(intro_text)
|
126 |
|
127 |
# Define the input and output blocks
|
|
|
98 |
|
99 |
|
100 |
intro_text = '''
|
|
|
|
|
101 |
This app responds to your questions by looking up the most relevant selections from the textbook, and asking ChatGPT to respond based on the selections. It can take up to 30 seconds to respond.
|
102 |
'''
|
103 |
|
|
|
120 |
block = gr.Blocks(theme = 'bethecloud/storj_theme')
|
121 |
|
122 |
with block:
|
123 |
+
gr.Markdown("# Ask the Sociology 101 Textbook")
|
124 |
+
gr.Markdown("![](rw_cover.jpg)")
|
125 |
gr.Markdown(intro_text)
|
126 |
|
127 |
# Define the input and output blocks
|