cindywqng commited on
Commit
a83c8b7
·
verified ·
1 Parent(s): f27665e

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
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/e/2PACX-1vRroWVBXq1Fa0x7SvRTzSBMHFIp59VtVEWCxeg8kWJU4ll1_o4yzBnt4ArT88s7g4TQrMKEXZUQAeHF/pubhtml?widget=true&amp;headers=false" 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,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="CalmConnect 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()
 
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()