TheHickman commited on
Commit
b4d2209
·
verified ·
1 Parent(s): 7cf4036

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -1
app.py CHANGED
@@ -48,6 +48,7 @@ YOUR_WORK_HTML = """
48
  # ---- Hugging Face reference content ----
49
  HF_REFERENCE_HTML = """
50
  <div id="hf-content" style="max-width: 800px; margin: auto; font-size: 16px; line-height: 1.6;">
 
51
  <h1>Text Generation (Hugging Face Reference)</h1>
52
  <h1>About Text Generation</h1>
53
  <p>
@@ -208,7 +209,7 @@ document.addEventListener("mouseup", () => {
208
  interactive=True
209
  )
210
 
211
- content_display = gr.HTML(YOUR_WORK_HTML)
212
 
213
  #view_toggle.change(
214
  # fn=switch_content,
 
48
  # ---- Hugging Face reference content ----
49
  HF_REFERENCE_HTML = """
50
  <div id="hf-content" style="max-width: 800px; margin: auto; font-size: 16px; line-height: 1.6;">
51
+ <img src="HFImage.png" style="width:100%; border-radius:8px; margin-bottom:20px;" />
52
  <h1>Text Generation (Hugging Face Reference)</h1>
53
  <h1>About Text Generation</h1>
54
  <p>
 
209
  interactive=True
210
  )
211
 
212
+ content_display = gr.HTML(HF_REFERENCE_HTML)
213
 
214
  #view_toggle.change(
215
  # fn=switch_content,