Spaces:
Running
Running
Update main.py
Browse files
main.py
CHANGED
@@ -308,6 +308,7 @@ def nsfw_check(attempts = 1):
|
|
308 |
async def inference(item: Item):
|
309 |
print("Start API Inference")
|
310 |
activeModels = InferenceClient().list_deployed_models()
|
|
|
311 |
base64_img = ""
|
312 |
model = item.modelID
|
313 |
NSFW = False
|
|
|
308 |
async def inference(item: Item):
|
309 |
print("Start API Inference")
|
310 |
activeModels = InferenceClient().list_deployed_models()
|
311 |
+
print(activeModels['text-to-image'])
|
312 |
base64_img = ""
|
313 |
model = item.modelID
|
314 |
NSFW = False
|