Update app.py
Browse files
app.py
CHANGED
@@ -108,7 +108,7 @@ def query_model(question):
|
|
108 |
|
109 |
# Define the HTML iframe content
|
110 |
iframe = '''
|
111 |
-
<iframe style="border-radius:12px" src="https://docs.google.com/spreadsheets/d/
|
112 |
'''
|
113 |
|
114 |
|
@@ -182,7 +182,7 @@ with gr.Blocks(theme=theme) as demo:
|
|
182 |
with gr.Row():
|
183 |
with gr.Column():
|
184 |
question = gr.Textbox(label="Your Request", placeholder="What would you like to talk about?")
|
185 |
-
answer = gr.Textbox(label="CalmBot's Response", placeholder="
|
186 |
submit_button = gr.Button("Submit")
|
187 |
submit_button.click(fn=query_model, inputs=question, outputs=answer)
|
188 |
demo.launch()
|
|
|
108 |
|
109 |
# Define the HTML iframe content
|
110 |
iframe = '''
|
111 |
+
<iframe style="border-radius:12px" src="https://docs.google.com/spreadsheets/d/1DZrH6wbIJpn6IlphohEziyDm68RVwi7hg6Kaz6slML0/edit?gid=1243765700#gid=1243765700" width="100%" height="352" frameBorder="0" allowfullscreen="true" allow="autoplay; clipboard-write; encrypted-media; fullscreen; picture-in-picture" loading="lazy"></iframe>
|
112 |
'''
|
113 |
|
114 |
|
|
|
182 |
with gr.Row():
|
183 |
with gr.Column():
|
184 |
question = gr.Textbox(label="Your Request", placeholder="What would you like to talk about?")
|
185 |
+
answer = gr.Textbox(label="CalmBot's Response", placeholder="CalmBot will respond here...", interactive=False, lines=17)
|
186 |
submit_button = gr.Button("Submit")
|
187 |
submit_button.click(fn=query_model, inputs=question, outputs=answer)
|
188 |
demo.launch()
|