simonraj commited on
Commit
b95f46f
·
1 Parent(s): a6c05ca

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -11,7 +11,7 @@ def image_to_base64(img_path):
11
  with open(img_path, "rb") as img_file:
12
  return base64.b64encode(img_file.read()).decode('utf-8')
13
 
14
- img_base64 = image_to_base64("SBC6.jpg")
15
  img_html = f'<img src="data:image/jpg;base64,{img_base64}" alt="SBC6" width="300" style="display: block; margin: auto;"/>'
16
 
17
  def predict(question_choice, audio):
@@ -50,7 +50,7 @@ def predict(question_choice, audio):
50
 
51
 
52
  def get_image_html():
53
- return "![](SBC6.jpg)" # Markdown syntax to embed the image
54
 
55
 
56
  # Gradio Interface
 
11
  with open(img_path, "rb") as img_file:
12
  return base64.b64encode(img_file.read()).decode('utf-8')
13
 
14
+ img_base64 = image_to_base64("HongWenSBC.JPG")
15
  img_html = f'<img src="data:image/jpg;base64,{img_base64}" alt="SBC6" width="300" style="display: block; margin: auto;"/>'
16
 
17
  def predict(question_choice, audio):
 
50
 
51
 
52
  def get_image_html():
53
+ return "![](HongWenSBC.JPG)" # Markdown syntax to embed the image
54
 
55
 
56
  # Gradio Interface