Update app.py
Browse files
app.py
CHANGED
|
@@ -149,12 +149,7 @@ topics= """
|
|
| 149 |
|
| 150 |
"""
|
| 151 |
|
| 152 |
-
# Create a Gradio HTML component
|
| 153 |
-
def display_iframe():
|
| 154 |
-
return iframe
|
| 155 |
|
| 156 |
-
def display_iframe2():
|
| 157 |
-
return iframe2
|
| 158 |
|
| 159 |
|
| 160 |
theme = gr.themes.Default(
|
|
@@ -193,7 +188,7 @@ with gr.Blocks(theme=theme) as demo:
|
|
| 193 |
answer = gr.Textbox(label="CalmBot's Response :D", placeholder="CalmBot will respond here..", interactive=False, lines=20)
|
| 194 |
submit_button = gr.Button("Submit")
|
| 195 |
submit_button.click(fn=query_model, inputs=question, outputs=answer)
|
| 196 |
-
|
| 197 |
|
| 198 |
|
| 199 |
|
|
|
|
| 149 |
|
| 150 |
"""
|
| 151 |
|
|
|
|
|
|
|
|
|
|
| 152 |
|
|
|
|
|
|
|
| 153 |
|
| 154 |
|
| 155 |
theme = gr.themes.Default(
|
|
|
|
| 188 |
answer = gr.Textbox(label="CalmBot's Response :D", placeholder="CalmBot will respond here..", interactive=False, lines=20)
|
| 189 |
submit_button = gr.Button("Submit")
|
| 190 |
submit_button.click(fn=query_model, inputs=question, outputs=answer)
|
| 191 |
+
with gr.Row():
|
| 192 |
|
| 193 |
|
| 194 |
|