Spaces:
Runtime error
Runtime error
Commit
•
2f14be5
1
Parent(s):
5ffcf34
app.py: use new list endpoint for models (#10)
Browse files- app.py: use new list endpoint for models (e579689776774dd46b0cda1d56d8683a4f83a65c)
Co-authored-by: Stefan Benten <[email protected]>
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):
|