Baptiste Gaultier commited on
Commit
6d3fb41
·
1 Parent(s): f5de2e9

roll back to fix img bug

Browse files
Files changed (2) hide show
  1. README.md +1 -1
  2. app.py +1 -1
README.md CHANGED
@@ -4,7 +4,7 @@ emoji: 🚦
4
  colorFrom: yellow
5
  colorTo: red
6
  sdk: gradio
7
- sdk_version: 5.0.1
8
  app_file: app.py
9
  pinned: false
10
  license: agpl-3.0
 
4
  colorFrom: yellow
5
  colorTo: red
6
  sdk: gradio
7
+ sdk_version: 5.4.0
8
  app_file: app.py
9
  pinned: false
10
  license: agpl-3.0
app.py CHANGED
@@ -100,7 +100,7 @@ if __name__ == "__main__":
100
  ## Instructions
101
  * Based on this [example]() , write a MicroPython code that will light up a red LED connected to pin `21` for 3 seconds. Once the 3 seconds have elapsed, make this LED blink every second (1 second off, then 1 second on) indefinitely!
102
 
103
- ![Level crossing light](gradio_api/file/assets/blink.gif){width=64}
104
 
105
  * You can use the [Vittascience simulator](https://fr.vittascience.com/esp32/?mode=code&console=bottom&toolbox=scratch&simu=1&board=basic-esp32) to test your code.
106
  * Copy and paste your code into the code editor on the right.
 
100
  ## Instructions
101
  * Based on this [example]() , write a MicroPython code that will light up a red LED connected to pin `21` for 3 seconds. Once the 3 seconds have elapsed, make this LED blink every second (1 second off, then 1 second on) indefinitely!
102
 
103
+ <img src="gradio_api/file/assets/blink.gif" alt="Level crossing light" width="64" style="margin-top: 16px; margin-bottom: 16px; margin-left: 50%; margin-right: 50%" />
104
 
105
  * You can use the [Vittascience simulator](https://fr.vittascience.com/esp32/?mode=code&console=bottom&toolbox=scratch&simu=1&board=basic-esp32) to test your code.
106
  * Copy and paste your code into the code editor on the right.