seawolf2357 commited on
Commit
939dd83
·
verified ·
1 Parent(s): 79683ec

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +5 -5
app.py CHANGED
@@ -4,17 +4,17 @@ def app():
4
  # Gradio 인터페이스 구성
5
  with gr.Blocks() as demo:
6
  with gr.Row():
7
- # 첫 번째 IFrame 컴포넌트
8
  with gr.Column():
9
  gr.Markdown("### 첫 번째 URL")
10
- gr.IFrame(src="https://https://www.chatbase.co/chatbot-iframe/100-daum-net-eurma-q2o", height=700, width=300)
11
 
12
- # 두 번째 IFrame 컴포넌트
13
  with gr.Column():
14
  gr.Markdown("### 두 번째 URL")
15
- gr.IFrame(src="https://https://huggingface.co/spaces/seawolf2357/frametest1/edit/main/app.py", height=700, width=600)
16
 
17
  return demo
18
 
19
  demo = app()
20
- demo.launch()
 
4
  # Gradio 인터페이스 구성
5
  with gr.Blocks() as demo:
6
  with gr.Row():
7
+ # 첫 번째 HTML 컴포넌트로 IFrame 구현
8
  with gr.Column():
9
  gr.Markdown("### 첫 번째 URL")
10
+ gr.HTML(value='<iframe src="https://www.chatbase.co/chatbot-iframe/100-daum-net-eurma-q2o" height="700" width="300"></iframe>')
11
 
12
+ # 두 번째 HTML 컴포넌트로 IFrame 구현
13
  with gr.Column():
14
  gr.Markdown("### 두 번째 URL")
15
+ gr.HTML(value='<iframe src="https://huggingface.co/spaces/seawolf2357/frametest1/edit/main/app.py" height="700" width="600"></iframe>')
16
 
17
  return demo
18
 
19
  demo = app()
20
+ demo.launch()