Merge pull request #211 from hakaserver/main
Temp. fix due to changes to Civitai Rest APIpull/245/head
commit
82d4bc4004
|
|
@ -757,7 +757,7 @@ def update_model_info(model_string=None, model_version=None, only_html=False, in
|
|||
img_html = '<div class="sampleimgs"><input type="radio" name="zoomRadio" id="resetZoom" class="zoom-radio" checked>'
|
||||
for index, pic in enumerate(selected_version['images']):
|
||||
meta_button = False
|
||||
meta = pic['meta']
|
||||
meta = pic['metadata']
|
||||
if meta and meta.get('prompt'):
|
||||
meta_button = True
|
||||
BtnImage = True
|
||||
|
|
@ -1219,4 +1219,4 @@ def request_civit_api(api_url=None):
|
|||
except json.JSONDecodeError:
|
||||
print("The CivitAI servers are currently offline. Please try again later.")
|
||||
return "timeout"
|
||||
return data
|
||||
return data
|
||||
|
|
|
|||
Loading…
Reference in New Issue