bori0824 commited on
Commit
b625031
1 Parent(s): c7cbe25

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +16 -16
app.py CHANGED
@@ -6,26 +6,26 @@ from io import BytesIO
6
 
7
  # Manually add definitions
8
  word_definitions = {
9
- "vibrant": "Full of energy, colorful",
10
- "dismissed": "Sent away or rejected",
11
- "depicting": "Showing or representing",
12
- "admired": "Regarded with respect.",
13
- "anxious": "worried or nervous.",
14
- "skeptics": "people who question or doubt.",
15
- "achievement": "success.",
16
- "thrilled": "excitement and happiness."
17
  }
18
 
19
  # Corresponding image URLs (example URLs, replace with actual GitHub links)
20
  image_urls = {
21
- "vibrant": "https://github.com/MK316/Spring2024/raw/main/DLTESOL/project/flashcard.001.png",
22
- "dismissed": "https://github.com/MK316/Spring2024/raw/main/DLTESOL/project/flashcard.002.png",
23
- "depicting": "https://github.com/MK316/Spring2024/raw/main/DLTESOL/project/flashcard.003.png",
24
- "admired": "https://github.com/MK316/Spring2024/raw/main/DLTESOL/project/flashcard.004.png",
25
- "anxious": "https://github.com/MK316/Spring2024/raw/main/DLTESOL/project/flashcard.005.png",
26
- "skeptics": "https://github.com/MK316/Spring2024/raw/main/DLTESOL/project/flashcard.006.png",
27
- "achievement": "https://github.com/MK316/Spring2024/raw/main/DLTESOL/project/flashcard.007.png",
28
- "thrilled": "https://github.com/MK316/Spring2024/raw/main/DLTESOL/project/flashcard.008.png"
29
  }
30
 
31
  def generate_output(word):
 
6
 
7
  # Manually add definitions
8
  word_definitions = {
9
+ "quaint": "Having an old-fashioned or unusual quality or appearance that is usually attractive or appealing.",
10
+ "explore": "To travel over or through (a place) in order to learn more about it or to find something.",
11
+ "cheerful": "Feeling or showing happiness.",
12
+ "peddler": "Someone who sells things in small amounts often by traveling to different places.",
13
+ "curious": "Having a desire to learn or know more about something or someone.",
14
+ "enthusiasm": "Strong excitement about something; a strong feeling of active interest in something that you like or enjoy.",
15
+ "skeptical": "Having or expressing doubt about something.",
16
+ "whisper": "To speak very softly or quietly."
17
  }
18
 
19
  # Corresponding image URLs (example URLs, replace with actual GitHub links)
20
  image_urls = {
21
+ "quaint": "https://raw.githubusercontent.com/PAMUS-JP30/flashcard/main/001.png",
22
+ "explore": "https://raw.githubusercontent.com/PAMUS-JP30/flashcard/main/002.png",
23
+ "cheerful": "https://raw.githubusercontent.com/PAMUS-JP30/flashcard/main/003.png",
24
+ "peddler": "https://raw.githubusercontent.com/PAMUS-JP30/flashcard/main/004.png",
25
+ "curious": "https://raw.githubusercontent.com/PAMUS-JP30/flashcard/main/005.png",
26
+ "enthusiasm": "https://raw.githubusercontent.com/PAMUS-JP30/flashcard/main/006.png",
27
+ "skeptical": "https://raw.githubusercontent.com/PAMUS-JP30/flashcard/main/007.png",
28
+ "whisper": "https://raw.githubusercontent.com/PAMUS-JP30/flashcard/main/008.png"
29
  }
30
 
31
  def generate_output(word):