gvartanian2010 commited on
Commit
2271f41
·
verified ·
1 Parent(s): f4e9ee6

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +20 -4
app.py CHANGED
@@ -4,6 +4,14 @@ from sentence_transformers import SentenceTransformer
4
  import torch
5
  from huggingface_hub import InferenceClient
6
 
 
 
 
 
 
 
 
 
7
  # with open("insert name here.txt", "r", encoding = "utf-8") as file:
8
  # finlitText = file.read()
9
 
@@ -77,11 +85,19 @@ demo = gr.ChatInterface(
77
  )
78
 
79
  with gr.Row():
80
- gr.HTML(
81
- """
82
- <iframe data-testid="embed-iframe" style="border-radius:12px" src="https://open.spotify.com/embed/playlist/3WLDIcG4Cx2UOPy0rbFhQn?utm_source=generator" width="100%" height="352" frameBorder="0" allowfullscreen="" allow="autoplay; clipboard-write; encrypted-media; fullscreen; picture-in-picture" loading="lazy"></iframe>
83
  """
84
- )
 
 
 
 
 
 
 
 
 
 
85
 
86
  demo.launch()
87
 
 
4
  import torch
5
  from huggingface_hub import InferenceClient
6
 
7
+ with gr.Blocks() as chatbot:
8
+ gr.Image(
9
+ value="ChatGPT Image Jun 11, 2026, 02_05_56 PM.png",
10
+ show_label=False,
11
+ show_share_button = False,
12
+ show_download_button = False)
13
+ gr.ChatInterface(respond, type="messages")
14
+
15
  # with open("insert name here.txt", "r", encoding = "utf-8") as file:
16
  # finlitText = file.read()
17
 
 
85
  )
86
 
87
  with gr.Row():
88
+ gr.HTML(
 
 
89
  """
90
+ <iframe style="border-radius:12px"
91
+ src="https://open.spotify.com/embed/track/4356Typ82hUiFAynbLYbPn"
92
+ width="100%"
93
+ height="152"
94
+ frameBorder="0"
95
+ allowfullscreen=""
96
+ allow="autoplay; clipboard-write; encrypted-media; fullscreen; picture-in-picture"
97
+ loading="lazy">
98
+ </iframe>
99
+ """
100
+ )
101
 
102
  demo.launch()
103