Atualli commited on
Commit
54f62d8
1 Parent(s): 47e61e5

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -3
app.py CHANGED
@@ -11,7 +11,7 @@ from flask_cors import CORS
11
  from flask_apscheduler import APScheduler
12
  import shutil
13
  from PIL import Image
14
- import sqlite3
15
  from huggingface_hub import Repository
16
  import subprocess
17
 
@@ -69,10 +69,10 @@ def autentica():
69
  @ app.route('/proxyimg', methods=['GET'])
70
  def proxyimg():
71
  newurl = request.args.get('prox')
 
72
  print(newurl)
73
- newurl = "http://painel.atualli.com:8098/getcamera?c=12"
74
  res = requests.get(newurl)
75
-
76
  response = Response(res.content, res.status_code, res.headers)
77
  return response
78
 
 
11
  from flask_apscheduler import APScheduler
12
  import shutil
13
  from PIL import Image
14
+ #import sqlite3
15
  from huggingface_hub import Repository
16
  import subprocess
17
 
 
69
  @ app.route('/proxyimg', methods=['GET'])
70
  def proxyimg():
71
  newurl = request.args.get('prox')
72
+ #newurl = "http://painel.atualli.com:8098/getcamera?c=12"
73
  print(newurl)
 
74
  res = requests.get(newurl)
75
+ print(res)
76
  response = Response(res.content, res.status_code, res.headers)
77
  return response
78