Spaces:
Paused
Paused
ChandimaPrabath
commited on
Commit
•
e262a9b
1
Parent(s):
cb31836
0.2.5 V Alpha
Browse files- Instance.py +1 -1
- app.py +1 -1
Instance.py
CHANGED
@@ -16,7 +16,7 @@ download_progress = {}
|
|
16 |
|
17 |
class Instance:
|
18 |
def __init__(self, id, url, cache_dir, index_file, token, repo, load_balancer_api, max_retries=20, initial_delay=1):
|
19 |
-
self.version = "0.2.
|
20 |
self.id = id
|
21 |
self.url = url
|
22 |
self.CACHE_DIR = cache_dir
|
|
|
16 |
|
17 |
class Instance:
|
18 |
def __init__(self, id, url, cache_dir, index_file, token, repo, load_balancer_api, max_retries=20, initial_delay=1):
|
19 |
+
self.version = "0.2.5 V Alpha"
|
20 |
self.id = id
|
21 |
self.url = url
|
22 |
self.CACHE_DIR = cache_dir
|
app.py
CHANGED
@@ -167,7 +167,7 @@ def get_report():
|
|
167 |
# Routes
|
168 |
@app.route('/')
|
169 |
def index():
|
170 |
-
return
|
171 |
|
172 |
# Main entry point
|
173 |
if __name__ == "__main__":
|
|
|
167 |
# Routes
|
168 |
@app.route('/')
|
169 |
def index():
|
170 |
+
return jsonify(instance.version)
|
171 |
|
172 |
# Main entry point
|
173 |
if __name__ == "__main__":
|