liyaoshi commited on
Commit
ff194f2
·
verified ·
1 Parent(s): 0a42202

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +10 -0
app.py CHANGED
@@ -61,6 +61,16 @@ with gr.Blocks(fill_height=True) as demo:
61
  "\n\nThis is GPT-4o, you can use the text and image capabilities now. More capabilities like audio and video will be rolled out iteratively in the future. Stay tuned."
62
  )
63
  gr.LoginButton()
 
 
 
 
 
 
 
 
 
 
64
 
65
  gr.ChatInterface(message,multimodal=True)
66
 
 
61
  "\n\nThis is GPT-4o, you can use the text and image capabilities now. More capabilities like audio and video will be rolled out iteratively in the future. Stay tuned."
62
  )
63
  gr.LoginButton()
64
+
65
+ gr.HTML("""
66
+ <script src="https://www.paypal.com/sdk/js?client-id=BAArXgcpwhbj2_d27oqcllV99M0QnL8d9qo67u7S-my6x7ElTxVT9F7PDhtEplcHB-EYBFtV1hY5fJ5j3g&components=hosted-buttons&disable-funding=venmo&currency=USD"></script>
67
+ <div id="paypal-container-LSQ8XJQNYAT7J"></div>
68
+ <script>
69
+ paypal.HostedButtons({
70
+ hostedButtonId: "LSQ8XJQNYAT7J",
71
+ }).render("#paypal-container-LSQ8XJQNYAT7J")
72
+ </script>
73
+ """)
74
 
75
  gr.ChatInterface(message,multimodal=True)
76