galem commited on
Commit
d758bd2
·
1 Parent(s): 1fe4dbb

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -5,7 +5,7 @@ import json
5
  from PIL import Image, ImageDraw
6
 
7
  # Open the JSON file
8
- with open('/content/image1.json', 'r') as file:
9
  # Load the JSON data from the file
10
  data = json.load(file)
11
 
@@ -70,7 +70,7 @@ with gr.Blocks() as demo:
70
  return section_labels[evt.index]
71
 
72
  gr.Examples(
73
- examples=["/content/20230210_110954 _1_.png"],
74
  inputs=img_input,
75
  outputs=img_output,
76
  fn=section,
 
5
  from PIL import Image, ImageDraw
6
 
7
  # Open the JSON file
8
+ with open('image1.json', 'r') as file:
9
  # Load the JSON data from the file
10
  data = json.load(file)
11
 
 
70
  return section_labels[evt.index]
71
 
72
  gr.Examples(
73
+ examples=["20230210_110954 _1_.png"],
74
  inputs=img_input,
75
  outputs=img_output,
76
  fn=section,