orrinin commited on
Commit
d3615e9
·
verified ·
1 Parent(s): 511f858

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -104,8 +104,8 @@ def process_image(image_input, unit):
104
 
105
  t = threading.Thread(target=update)
106
  t.start()
107
- return local_data.results = "正在分析....."
108
-
109
 
110
  def fetch_result():
111
  init_data()
 
104
 
105
  t = threading.Thread(target=update)
106
  t.start()
107
+ local_data.results = "正在分析....."
108
+ return local_data.results
109
 
110
  def fetch_result():
111
  init_data()