khaled5321 commited on
Commit
da7e527
·
1 Parent(s): 59c8923

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +7 -5
app.py CHANGED
@@ -24,7 +24,7 @@ def upload_image():
24
  # You can perform additional operations with the image here
25
  # ...
26
 
27
- return 'Image uploaded successfully'
28
 
29
 
30
  @app.route('/get_text', methods=['GET'])
@@ -41,10 +41,12 @@ def get_text():
41
 
42
  return disease
43
 
 
 
 
 
 
44
 
45
- print('upload_image()')
46
 
47
- # if __name__ == '__app__':
48
- # app.run(host='192.168.1.7', port=5000 )
49
  if __name__ == '__app__':
50
- app.run( host='0.0.0.0',port=7860)
 
24
  # You can perform additional operations with the image here
25
  # ...
26
 
27
+ return "Image uploaded successfully"
28
 
29
 
30
  @app.route('/get_text', methods=['GET'])
 
41
 
42
  return disease
43
 
44
+ @app.route('/', methods=['GET'])
45
+ def get_text():
46
+
47
+ return "Hello world"
48
+
49
 
 
50
 
 
 
51
  if __name__ == '__app__':
52
+ app.run(host='0.0.0.0', port=7860)