Spaces:
Paused
Paused
stefanbenten
commited on
Commit
•
e579689
1
Parent(s):
5ffcf34
app.py: use new list endpoint for models
Browse files
app.py
CHANGED
@@ -44,7 +44,7 @@ class Prodia:
|
|
44 |
return job_result
|
45 |
|
46 |
def list_models(self):
|
47 |
-
response = self._get(f"{self.base}/models
|
48 |
return response.json()
|
49 |
|
50 |
def _post(self, url, params):
|
|
|
44 |
return job_result
|
45 |
|
46 |
def list_models(self):
|
47 |
+
response = self._get(f"{self.base}/sd/models")
|
48 |
return response.json()
|
49 |
|
50 |
def _post(self, url, params):
|