ysharma HF Staff commited on
Commit
a28bbb7
·
1 Parent(s): 816659f
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -16,7 +16,7 @@ def state_player(message, history):
16
  history.append((message, response))
17
  return history, history
18
 
19
- def google_docs_embed(dummy):
20
  html_out = "<iframe src='https://docs.google.com/document/d/e/2PACX-1vQCMltKYqqUNbkM7yWIkzo7HKxCelusP1ocDKjjhRGv_4EHblWl_9hMIFBUdXSSdneTFo7dQUt70jN-/pub?embedded=true'></iframe>"
21
  return html_out
22
 
@@ -39,7 +39,7 @@ with gr.Blocks() as demo:
39
  b1 = gr.Button("Generate")
40
  b2 = gr.Button("Docs API")
41
  with gr.Row():
42
- in_dummy = gr.Textbox(visible=False, value='dummy')
43
  embed_docs = gr.HTML()
44
 
45
  b1.click(fn=state_player, inputs=[text_editor,state], outputs=[text_editor,state])
 
16
  history.append((message, response))
17
  return history, history
18
 
19
+ def google_docs_embed(): #dummy
20
  html_out = "<iframe src='https://docs.google.com/document/d/e/2PACX-1vQCMltKYqqUNbkM7yWIkzo7HKxCelusP1ocDKjjhRGv_4EHblWl_9hMIFBUdXSSdneTFo7dQUt70jN-/pub?embedded=true'></iframe>"
21
  return html_out
22
 
 
39
  b1 = gr.Button("Generate")
40
  b2 = gr.Button("Docs API")
41
  with gr.Row():
42
+ #in_dummy = gr.Textbox(visible=False) #, value='dummy')
43
  embed_docs = gr.HTML()
44
 
45
  b1.click(fn=state_player, inputs=[text_editor,state], outputs=[text_editor,state])