armanofi commited on
Commit
dc34f8c
·
1 Parent(s): 3b21dc4

Update auto.ipynb

Browse files
Files changed (1) hide show
  1. auto.ipynb +1 -6
auto.ipynb CHANGED
@@ -1,5 +1,5 @@
1
  import urllib
2
- from IPython.display import display, Javascript
3
 
4
  # Ganti dengan URL Hugging Face yang Anda inginkan
5
  URL_HUGGING_FACE = "https://huggingface.co/armanofi/sekalikelik/edit/main/auto.ipynb"
@@ -10,8 +10,6 @@ urllib.request.urlretrieve(URL_HUGGING_FACE, "auto.ipynb")
10
  # Jalankan notebook di Google Colab
11
  display(Javascript(filename="auto.ipynb"))
12
 
13
- from IPython.display import HTML, display
14
-
15
  def display_text_box(content, width="485px", height="30px"):
16
  # Ganti en dash dengan hyphen di dalam string HTML
17
  content = content.replace("–", "-")
@@ -36,8 +34,6 @@ text_content = "Terima kasih Telah Menggunakan Notebook google colab StableDiffu
36
 
37
  display_text_box(text_content, width="485px", height="30px")
38
 
39
- from IPython.display import HTML, Image
40
-
41
  def display_image():
42
  image_url = "https://i.postimg.cc/Pf3XXMsP/Cuplikan-layar-2023-07-30-165548.png"
43
  image_html = f'<a href="https://www.youtube.com/@remajapekalongan" target="_blank"><img src="{image_url}" width="489" height="172"></a>'
@@ -45,6 +41,5 @@ def display_image():
45
  display(HTML(image_html))
46
 
47
  display_image()
48
- from IPython.display import HTML
49
 
50
  # ... (lanjutan script)
 
1
  import urllib
2
+ from IPython.display import display, Javascript, HTML
3
 
4
  # Ganti dengan URL Hugging Face yang Anda inginkan
5
  URL_HUGGING_FACE = "https://huggingface.co/armanofi/sekalikelik/edit/main/auto.ipynb"
 
10
  # Jalankan notebook di Google Colab
11
  display(Javascript(filename="auto.ipynb"))
12
 
 
 
13
  def display_text_box(content, width="485px", height="30px"):
14
  # Ganti en dash dengan hyphen di dalam string HTML
15
  content = content.replace("–", "-")
 
34
 
35
  display_text_box(text_content, width="485px", height="30px")
36
 
 
 
37
  def display_image():
38
  image_url = "https://i.postimg.cc/Pf3XXMsP/Cuplikan-layar-2023-07-30-165548.png"
39
  image_html = f'<a href="https://www.youtube.com/@remajapekalongan" target="_blank"><img src="{image_url}" width="489" height="172"></a>'
 
41
  display(HTML(image_html))
42
 
43
  display_image()
 
44
 
45
  # ... (lanjutan script)