diff --git a/daras_ai_v2/base.py b/daras_ai_v2/base.py index de9a656ba..a506509d6 100644 --- a/daras_ai_v2/base.py +++ b/daras_ai_v2/base.py @@ -96,12 +96,13 @@ class StateKeys: class BasePage: title: str - image: str = None workflow: Workflow slug_versions: list[str] sane_defaults: dict = {} + explore_image: str = None + RequestModel: typing.Type[BaseModel] ResponseModel: typing.Type[BaseModel] @@ -264,8 +265,8 @@ def _render_page_title_with_breadcrumbs( def get_recipe_title(self, state: dict) -> str: return state.get(StateKeys.page_title) or self.title or "" - def get_recipe_image(self, state: dict) -> str: - return self.image or "" + def get_explore_image(self, state: dict) -> str: + return self.explore_image or "" def _user_disabled_check(self): if self.run_user and self.run_user.is_disabled: @@ -324,7 +325,7 @@ def _render(page_cls): page = page_cls() state = page_cls().recipe_doc_sr().to_dict() preview_image = meta_preview_url( - page.get_recipe_image(state), page.fallback_preivew_image() + page.get_explore_image(state), page.fallback_preivew_image() ) with st.link(to=page.app_url()): diff --git a/daras_ai_v2/meta_preview_url.py b/daras_ai_v2/meta_preview_url.py index 3d02e0c62..369900c90 100644 --- a/daras_ai_v2/meta_preview_url.py +++ b/daras_ai_v2/meta_preview_url.py @@ -1,12 +1,17 @@ import mimetypes import os -from time import time +import typing -import requests from furl import furl -def meta_preview_url(file_url: str | None, fallback_img: str | None) -> str | None: +def meta_preview_url( + file_url: str | None, + fallback_img: str | None, + size: typing.Literal[ + "400x400", "1170x1560", "40x40", "72x72", "80x80", "96x96" + ] = "400x400", +) -> str | None: if not file_url: return fallback_img @@ -22,7 +27,6 @@ def meta_preview_url(file_url: str | None, fallback_img: str | None) -> str | No file_url = fallback_img elif content_type in ["image/png", "image/jpeg", "image/tiff", "image/webp"]: # sizes: 400x400,1170x1560,40x40,72x72,80x80,96x96 - size = "400x400" f.path.segments = dir_segments + ["thumbs", f"{base}_{size}{ext}"] new_url = str(f) diff --git a/explore.py b/explore.py index 471e6181b..f3950bdbb 100644 --- a/explore.py +++ b/explore.py @@ -1,8 +1,11 @@ +import typing + import gooey_ui as gui from daras_ai.image_input import truncate_text_words from daras_ai_v2.all_pages import all_home_pages_by_category +from daras_ai_v2.base import BasePage from daras_ai_v2.grid_layout_widget import grid_layout - +from daras_ai_v2.meta_preview_url import meta_preview_url META_TITLE = "Explore AI workflows" META_DESCRIPTION = "Find, fork and run your field’s favorite AI recipes on Gooey.AI" @@ -25,7 +28,7 @@ def _render_non_featured(page_cls): # render_description(page, state, total_runs) render_description(page, state) - def _render_as_featured(page_cls): + def _render_as_featured(page_cls: typing.Type[BasePage]): page = page_cls() state = page.recipe_doc_sr().to_dict() # total_runs = page.get_total_runs() @@ -33,9 +36,9 @@ def _render_as_featured(page_cls): # render_description(page, state, total_runs) render_description(page, state) - def render_image(page, state): + def render_image(page: BasePage, state: dict): gui.image( - page.get_recipe_image(state), + meta_preview_url(page.get_explore_image(state), page.preview_image(state)), href=page.app_url(), style={"border-radius": 5}, ) diff --git a/recipes/BulkEval.py b/recipes/BulkEval.py index 83c3172ad..d178fa57c 100644 --- a/recipes/BulkEval.py +++ b/recipes/BulkEval.py @@ -126,10 +126,30 @@ def _render_results(results: list[AggFunctionResult]): class BulkEvalPage(BasePage): - title = "Bulk Evaluator" + title = "Evaluator" workflow = Workflow.BULK_EVAL slug_versions = ["bulk-eval", "eval"] + explore_image = "https://storage.googleapis.com/dara-c1b52.appspot.com/daras_ai/media/aad314f0-9a97-11ee-8318-02420a0001c7/W.I.9.png.png" + + def preview_image(self, state: dict) -> str | None: + return "https://storage.googleapis.com/dara-c1b52.appspot.com/daras_ai/media/9631fb74-9a97-11ee-971f-02420a0001c4/evaluator.png.png" + + def render_description(self): + st.write( + """ +Summarize and score every row of any CSV, google sheet or excel with GPT4 (or any LLM you choose). Then average every score in any column to generate automated evaluations. + """ + ) + + def related_workflows(self) -> list: + from recipes.BulkRunner import BulkRunnerPage + from recipes.VideoBots import VideoBotsPage + from recipes.asr import AsrPage + from recipes.DocSearch import DocSearchPage + + return [BulkRunnerPage, VideoBotsPage, AsrPage, DocSearchPage] + class RequestModel(LLMSettingsMixin, BaseModel): documents: list[str] = Field( title="Input Data Spreadsheet", diff --git a/recipes/BulkRunner.py b/recipes/BulkRunner.py index ea3c2d9fe..8af80eca0 100644 --- a/recipes/BulkRunner.py +++ b/recipes/BulkRunner.py @@ -25,7 +25,7 @@ class BulkRunnerPage(BasePage): title = "Bulk Runner" - image = "https://storage.googleapis.com/dara-c1b52.appspot.com/daras_ai/media/87f35df4-88d7-11ee-aac9-02420a00016b/Bulk%20Runner.png.png" + explore_image = "https://storage.googleapis.com/dara-c1b52.appspot.com/daras_ai/media/87f35df4-88d7-11ee-aac9-02420a00016b/Bulk%20Runner.png.png" workflow = Workflow.BULK_RUNNER slug_versions = ["bulk-runner", "bulk"] price = 1 diff --git a/recipes/ChyronPlant.py b/recipes/ChyronPlant.py index 4c371abf3..116a8ad6a 100644 --- a/recipes/ChyronPlant.py +++ b/recipes/ChyronPlant.py @@ -10,7 +10,7 @@ class ChyronPlantPage(BasePage): title = "Chyron Plant Bot" - image = "https://storage.googleapis.com/dara-c1b52.appspot.com/daras_ai/media/aeb83ee8-889e-11ee-93dc-02420a000143/Youtube%20transcripts%20GPT%20extractions.png.png" + explore_image = "https://storage.googleapis.com/dara-c1b52.appspot.com/daras_ai/media/aeb83ee8-889e-11ee-93dc-02420a000143/Youtube%20transcripts%20GPT%20extractions.png.png" workflow = Workflow.CHYRON_PLANT slug_versions = ["ChyronPlant"] diff --git a/recipes/CompareLLM.py b/recipes/CompareLLM.py index 8c60ba154..583317ddc 100644 --- a/recipes/CompareLLM.py +++ b/recipes/CompareLLM.py @@ -22,7 +22,7 @@ class CompareLLMPage(BasePage): title = "Large Language Models: GPT-3" - image = "https://storage.googleapis.com/dara-c1b52.appspot.com/daras_ai/media/ae42015e-88d7-11ee-aac9-02420a00016b/Compare%20LLMs.png.png" + explore_image = "https://storage.googleapis.com/dara-c1b52.appspot.com/daras_ai/media/ae42015e-88d7-11ee-aac9-02420a00016b/Compare%20LLMs.png.png" workflow = Workflow.COMPARE_LLM slug_versions = ["CompareLLM", "llm", "compare-large-language-models"] diff --git a/recipes/CompareText2Img.py b/recipes/CompareText2Img.py index 96013554f..80fe16392 100644 --- a/recipes/CompareText2Img.py +++ b/recipes/CompareText2Img.py @@ -30,7 +30,7 @@ class CompareText2ImgPage(BasePage): title = "Compare AI Image Generators" - image = "https://storage.googleapis.com/dara-c1b52.appspot.com/daras_ai/media/d127484e-88d9-11ee-b549-02420a000167/Compare%20AI%20Image%20generators.png.png" + explore_image = "https://storage.googleapis.com/dara-c1b52.appspot.com/daras_ai/media/d127484e-88d9-11ee-b549-02420a000167/Compare%20AI%20Image%20generators.png.png" workflow = Workflow.COMPARE_TEXT2IMG slug_versions = [ "CompareText2Img", diff --git a/recipes/CompareUpscaler.py b/recipes/CompareUpscaler.py index 9d5a2d802..84973380f 100644 --- a/recipes/CompareUpscaler.py +++ b/recipes/CompareUpscaler.py @@ -14,7 +14,7 @@ class CompareUpscalerPage(BasePage): title = "Compare AI Image Upscalers" - image = "https://storage.googleapis.com/dara-c1b52.appspot.com/daras_ai/media/64393e0c-88db-11ee-b428-02420a000168/AI%20Image%20Upscaler.png.png" + explore_image = "https://storage.googleapis.com/dara-c1b52.appspot.com/daras_ai/media/64393e0c-88db-11ee-b428-02420a000168/AI%20Image%20Upscaler.png.png" workflow = Workflow.COMPARE_UPSCALER slug_versions = ["compare-ai-upscalers"] diff --git a/recipes/DeforumSD.py b/recipes/DeforumSD.py index 3fcf8da14..7ec57bc19 100644 --- a/recipes/DeforumSD.py +++ b/recipes/DeforumSD.py @@ -163,7 +163,7 @@ def get_last_frame(prompt_list: list) -> int: class DeforumSDPage(BasePage): title = "AI Animation Generator" - image = "https://storage.googleapis.com/dara-c1b52.appspot.com/media/users/kxmNIYAOJbfOURxHBKNCWeUSKiP2/dd88c110-88d6-11ee-9b4f-2b58bd50e819/animation.gif" + explore_image = "https://storage.googleapis.com/dara-c1b52.appspot.com/media/users/kxmNIYAOJbfOURxHBKNCWeUSKiP2/dd88c110-88d6-11ee-9b4f-2b58bd50e819/animation.gif" workflow = Workflow.DEFORUM_SD slug_versions = ["DeforumSD", "animation-generator"] diff --git a/recipes/DocExtract.py b/recipes/DocExtract.py index 9cb744529..fc2b8b3c8 100644 --- a/recipes/DocExtract.py +++ b/recipes/DocExtract.py @@ -56,7 +56,7 @@ class Columns(IntegerChoices): class DocExtractPage(BasePage): title = "Youtube Transcripts + GPT extraction to Google Sheets" - image = "https://storage.googleapis.com/dara-c1b52.appspot.com/daras_ai/media/aeb83ee8-889e-11ee-93dc-02420a000143/Youtube%20transcripts%20GPT%20extractions.png.png" + explore_image = "https://storage.googleapis.com/dara-c1b52.appspot.com/daras_ai/media/aeb83ee8-889e-11ee-93dc-02420a000143/Youtube%20transcripts%20GPT%20extractions.png.png" workflow = Workflow.DOC_EXTRACT slug_versions = [ "doc-extract", diff --git a/recipes/DocSearch.py b/recipes/DocSearch.py index 0f804bbc7..2a509d8fd 100644 --- a/recipes/DocSearch.py +++ b/recipes/DocSearch.py @@ -38,7 +38,7 @@ class DocSearchPage(BasePage): title = "Search your Docs with GPT" - image = "https://storage.googleapis.com/dara-c1b52.appspot.com/daras_ai/media/cbbb4dc6-88d7-11ee-bf6c-02420a000166/Search%20your%20docs%20with%20gpt.png.png" + explore_image = "https://storage.googleapis.com/dara-c1b52.appspot.com/daras_ai/media/cbbb4dc6-88d7-11ee-bf6c-02420a000166/Search%20your%20docs%20with%20gpt.png.png" workflow = Workflow.DOC_SEARCH slug_versions = ["doc-search"] diff --git a/recipes/DocSummary.py b/recipes/DocSummary.py index b45fea097..4b9283cde 100644 --- a/recipes/DocSummary.py +++ b/recipes/DocSummary.py @@ -38,7 +38,7 @@ class CombineDocumentsChains(Enum): class DocSummaryPage(BasePage): title = "Summarize your Docs with GPT" - image = "https://storage.googleapis.com/dara-c1b52.appspot.com/daras_ai/media/1f858a7a-88d8-11ee-a658-02420a000163/Summarize%20your%20docs%20with%20gpt.png.png" + explore_image = "https://storage.googleapis.com/dara-c1b52.appspot.com/daras_ai/media/1f858a7a-88d8-11ee-a658-02420a000163/Summarize%20your%20docs%20with%20gpt.png.png" workflow = Workflow.DOC_SUMMARY slug_versions = ["doc-summary"] diff --git a/recipes/EmailFaceInpainting.py b/recipes/EmailFaceInpainting.py index 5e492974c..86428c4ae 100644 --- a/recipes/EmailFaceInpainting.py +++ b/recipes/EmailFaceInpainting.py @@ -22,7 +22,7 @@ class EmailFaceInpaintingPage(FaceInpaintingPage): title = "AI Generated Photo from Email Profile Lookup" - image = "https://storage.googleapis.com/dara-c1b52.appspot.com/daras_ai/media/ec0df5aa-9521-11ee-93d3-02420a0001e5/Email%20Profile%20Lookup.png.png" + explore_image = "https://storage.googleapis.com/dara-c1b52.appspot.com/daras_ai/media/ec0df5aa-9521-11ee-93d3-02420a0001e5/Email%20Profile%20Lookup.png.png" workflow = Workflow.EMAIL_FACE_INPAINTING slug_versions = ["EmailFaceInpainting", "ai-image-from-email-lookup"] diff --git a/recipes/FaceInpainting.py b/recipes/FaceInpainting.py index 1fee77221..a9353ea07 100644 --- a/recipes/FaceInpainting.py +++ b/recipes/FaceInpainting.py @@ -28,7 +28,7 @@ class FaceInpaintingPage(BasePage): title = "AI Image with a Face" - image = "https://storage.googleapis.com/dara-c1b52.appspot.com/daras_ai/media/10c2ce06-88da-11ee-b428-02420a000168/ai%20image%20with%20a%20face.png.png" + explore_image = "https://storage.googleapis.com/dara-c1b52.appspot.com/daras_ai/media/10c2ce06-88da-11ee-b428-02420a000168/ai%20image%20with%20a%20face.png.png" workflow = Workflow.FACE_INPAINTING slug_versions = ["FaceInpainting", "face-in-ai-generated-photo"] diff --git a/recipes/GoogleGPT.py b/recipes/GoogleGPT.py index c4cad5535..57b1078ba 100644 --- a/recipes/GoogleGPT.py +++ b/recipes/GoogleGPT.py @@ -42,7 +42,7 @@ class GoogleGPTPage(BasePage): title = "Web Search + GPT3" - image = "https://storage.googleapis.com/dara-c1b52.appspot.com/daras_ai/media/28649544-9406-11ee-bba3-02420a0001cc/Websearch%20GPT%20option%202.png.png" + explore_image = "https://storage.googleapis.com/dara-c1b52.appspot.com/daras_ai/media/28649544-9406-11ee-bba3-02420a0001cc/Websearch%20GPT%20option%202.png.png" workflow = Workflow.GOOGLE_GPT slug_versions = ["google-gpt"] diff --git a/recipes/GoogleImageGen.py b/recipes/GoogleImageGen.py index 6033ede36..c3dab52f0 100644 --- a/recipes/GoogleImageGen.py +++ b/recipes/GoogleImageGen.py @@ -34,7 +34,7 @@ class GoogleImageGenPage(BasePage): title = "Render Image Search Results with AI" - image = "https://storage.googleapis.com/dara-c1b52.appspot.com/daras_ai/media/eb23c078-88da-11ee-aa86-02420a000165/web%20search%20render.png.png" + explore_image = "https://storage.googleapis.com/dara-c1b52.appspot.com/daras_ai/media/eb23c078-88da-11ee-aa86-02420a000165/web%20search%20render.png.png" workflow = Workflow.GOOGLE_IMAGE_GEN slug_versions = ["GoogleImageGen", "render-images-with-ai"] diff --git a/recipes/ImageSegmentation.py b/recipes/ImageSegmentation.py index e1c313f06..543664065 100644 --- a/recipes/ImageSegmentation.py +++ b/recipes/ImageSegmentation.py @@ -33,7 +33,7 @@ class ImageSegmentationPage(BasePage): title = "AI Background Changer" - image = "https://storage.googleapis.com/dara-c1b52.appspot.com/daras_ai/media/06fc595e-88db-11ee-b428-02420a000168/AI%20Background%20Remover.png.png" + explore_image = "https://storage.googleapis.com/dara-c1b52.appspot.com/daras_ai/media/06fc595e-88db-11ee-b428-02420a000168/AI%20Background%20Remover.png.png" workflow = Workflow.IMAGE_SEGMENTATION slug_versions = ["ImageSegmentation", "remove-image-background-with-ai"] diff --git a/recipes/Img2Img.py b/recipes/Img2Img.py index 631d2e0ed..da330639b 100644 --- a/recipes/Img2Img.py +++ b/recipes/Img2Img.py @@ -24,7 +24,7 @@ class Img2ImgPage(BasePage): title = "Edit An Image with AI prompt" - image = "https://storage.googleapis.com/dara-c1b52.appspot.com/daras_ai/media/bcc9351a-88d9-11ee-bf6c-02420a000166/Edit%20an%20image%20with%20AI%201.png.png" + explore_image = "https://storage.googleapis.com/dara-c1b52.appspot.com/daras_ai/media/bcc9351a-88d9-11ee-bf6c-02420a000166/Edit%20an%20image%20with%20AI%201.png.png" workflow = Workflow.IMG_2_IMG slug_versions = ["Img2Img", "ai-photo-editor"] diff --git a/recipes/LetterWriter.py b/recipes/LetterWriter.py index d4cd34fce..87e0aa550 100644 --- a/recipes/LetterWriter.py +++ b/recipes/LetterWriter.py @@ -14,7 +14,7 @@ class LetterWriterPage(BasePage): title = "Letter Writer" - image = "https://storage.googleapis.com/dara-c1b52.appspot.com/daras_ai/media/aeb83ee8-889e-11ee-93dc-02420a000143/Youtube%20transcripts%20GPT%20extractions.png.png" + explore_image = "https://storage.googleapis.com/dara-c1b52.appspot.com/daras_ai/media/aeb83ee8-889e-11ee-93dc-02420a000143/Youtube%20transcripts%20GPT%20extractions.png.png" workflow = Workflow.LETTER_WRITER slug_versions = ["LetterWriter"] diff --git a/recipes/Lipsync.py b/recipes/Lipsync.py index cb3022361..5fe08a09b 100644 --- a/recipes/Lipsync.py +++ b/recipes/Lipsync.py @@ -20,7 +20,7 @@ class LipsyncPage(BasePage): title = "Lip Syncing" - image = "https://storage.googleapis.com/dara-c1b52.appspot.com/daras_ai/media/f33e6332-88d8-11ee-89f9-02420a000169/Lipsync%20TTS.png.png" + explore_image = "https://storage.googleapis.com/dara-c1b52.appspot.com/daras_ai/media/f33e6332-88d8-11ee-89f9-02420a000169/Lipsync%20TTS.png.png" workflow = Workflow.LIPSYNC slug_versions = ["Lipsync"] diff --git a/recipes/LipsyncTTS.py b/recipes/LipsyncTTS.py index 8a1802296..dcdb7d422 100644 --- a/recipes/LipsyncTTS.py +++ b/recipes/LipsyncTTS.py @@ -14,7 +14,7 @@ class LipsyncTTSPage(LipsyncPage, TextToSpeechPage): title = "Lipsync Video with Any Text" - image = "https://storage.googleapis.com/dara-c1b52.appspot.com/daras_ai/media/1acfa370-88d9-11ee-bf6c-02420a000166/Lipsync%20with%20audio%201.png.png" + explore_image = "https://storage.googleapis.com/dara-c1b52.appspot.com/daras_ai/media/1acfa370-88d9-11ee-bf6c-02420a000166/Lipsync%20with%20audio%201.png.png" workflow = Workflow.LIPSYNC_TTS slug_versions = ["LipsyncTTS", "lipsync-maker"] diff --git a/recipes/ObjectInpainting.py b/recipes/ObjectInpainting.py index 1893c667d..d84c59069 100644 --- a/recipes/ObjectInpainting.py +++ b/recipes/ObjectInpainting.py @@ -29,7 +29,7 @@ class ObjectInpaintingPage(BasePage): title = "Generate Product Photo Backgrounds" - image = "https://storage.googleapis.com/dara-c1b52.appspot.com/daras_ai/media/f07b731e-88d9-11ee-a658-02420a000163/W.I.3.png.png" + explore_image = "https://storage.googleapis.com/dara-c1b52.appspot.com/daras_ai/media/f07b731e-88d9-11ee-a658-02420a000163/W.I.3.png.png" workflow = Workflow.OBJECT_INPAINTING slug_versions = ["ObjectInpainting", "product-photo-background-generator"] diff --git a/recipes/QRCodeGenerator.py b/recipes/QRCodeGenerator.py index bdc57b70f..30e109994 100644 --- a/recipes/QRCodeGenerator.py +++ b/recipes/QRCodeGenerator.py @@ -51,7 +51,7 @@ class QrSources(Enum): class QRCodeGeneratorPage(BasePage): title = "AI Art QR Code" - image = "https://storage.googleapis.com/dara-c1b52.appspot.com/daras_ai/media/03d6538e-88d5-11ee-ad97-02420a00016c/W.I.2.png.png" + explore_image = "https://storage.googleapis.com/dara-c1b52.appspot.com/daras_ai/media/03d6538e-88d5-11ee-ad97-02420a00016c/W.I.2.png.png" workflow = Workflow.QR_CODE slug_versions = ["art-qr-code", "qr", "qr-code"] diff --git a/recipes/RelatedQnA.py b/recipes/RelatedQnA.py index e1c9e71f7..efddba5ba 100644 --- a/recipes/RelatedQnA.py +++ b/recipes/RelatedQnA.py @@ -25,7 +25,7 @@ class RelatedGoogleGPTResponse(GoogleGPTPage.ResponseModel): class RelatedQnAPage(BasePage): title = "Generate “People Also Ask” SEO Content " - image = "https://storage.googleapis.com/dara-c1b52.appspot.com/daras_ai/media/37b0ba22-88d6-11ee-b549-02420a000167/People%20also%20ask.png.png" + explore_image = "https://storage.googleapis.com/dara-c1b52.appspot.com/daras_ai/media/37b0ba22-88d6-11ee-b549-02420a000167/People%20also%20ask.png.png" workflow = Workflow.RELATED_QNA_MAKER slug_versions = ["related-qna-maker"] diff --git a/recipes/RelatedQnADoc.py b/recipes/RelatedQnADoc.py index fc0542caf..7ebc87080 100644 --- a/recipes/RelatedQnADoc.py +++ b/recipes/RelatedQnADoc.py @@ -24,7 +24,7 @@ class RelatedDocSearchResponse(DocSearchPage.ResponseModel): class RelatedQnADocPage(BasePage): title = '"People Also Ask" Answers from a Doc' - image = "https://storage.googleapis.com/dara-c1b52.appspot.com/daras_ai/media/aeb83ee8-889e-11ee-93dc-02420a000143/Youtube%20transcripts%20GPT%20extractions.png.png" + explore_image = "https://storage.googleapis.com/dara-c1b52.appspot.com/daras_ai/media/aeb83ee8-889e-11ee-93dc-02420a000143/Youtube%20transcripts%20GPT%20extractions.png.png" workflow = Workflow.RELATED_QNA_MAKER_DOC slug_versions = ["related-qna-maker-doc"] diff --git a/recipes/SEOSummary.py b/recipes/SEOSummary.py index 882c8827e..51b4e21db 100644 --- a/recipes/SEOSummary.py +++ b/recipes/SEOSummary.py @@ -56,7 +56,7 @@ class SEOSummaryPage(BasePage): title = "Create a perfect SEO-optimized Title & Paragraph" - image = "https://storage.googleapis.com/dara-c1b52.appspot.com/daras_ai/media/85f38b42-88d6-11ee-ad97-02420a00016c/Create%20SEO%20optimized%20content%20option%202.png.png" + explore_image = "https://storage.googleapis.com/dara-c1b52.appspot.com/daras_ai/media/85f38b42-88d6-11ee-ad97-02420a00016c/Create%20SEO%20optimized%20content%20option%202.png.png" workflow = Workflow.SEO_SUMMARY slug_versions = ["SEOSummary", "seo-paragraph-generator"] diff --git a/recipes/SmartGPT.py b/recipes/SmartGPT.py index b79bdf192..554a74940 100644 --- a/recipes/SmartGPT.py +++ b/recipes/SmartGPT.py @@ -22,7 +22,7 @@ class SmartGPTPage(BasePage): title = "SmartGPT" - image = "https://storage.googleapis.com/dara-c1b52.appspot.com/daras_ai/media/ffd24ad8-88d7-11ee-a658-02420a000163/SmartGPT.png.png" + explore_image = "https://storage.googleapis.com/dara-c1b52.appspot.com/daras_ai/media/ffd24ad8-88d7-11ee-a658-02420a000163/SmartGPT.png.png" workflow = Workflow.SMART_GPT slug_versions = ["SmartGPT"] price = 20 diff --git a/recipes/SocialLookupEmail.py b/recipes/SocialLookupEmail.py index 3c45a4ea2..5ad154f9f 100644 --- a/recipes/SocialLookupEmail.py +++ b/recipes/SocialLookupEmail.py @@ -19,7 +19,7 @@ class SocialLookupEmailPage(BasePage): title = "Profile Lookup + GPT3 for AI-Personalized Emails" - image = "https://storage.googleapis.com/dara-c1b52.appspot.com/daras_ai/media/5fbd475a-88d7-11ee-aac9-02420a00016b/personalized%20email.png.png" + explore_image = "https://storage.googleapis.com/dara-c1b52.appspot.com/daras_ai/media/5fbd475a-88d7-11ee-aac9-02420a00016b/personalized%20email.png.png" workflow = Workflow.SOCIAL_LOOKUP_EMAIL slug_versions = ["SocialLookupEmail", "email-writer-with-profile-lookup"] diff --git a/recipes/Text2Audio.py b/recipes/Text2Audio.py index a959b62f3..77776ddf5 100644 --- a/recipes/Text2Audio.py +++ b/recipes/Text2Audio.py @@ -28,7 +28,7 @@ class Text2AudioModels(Enum): class Text2AudioPage(BasePage): title = "Text guided audio generator" - image = "https://storage.googleapis.com/dara-c1b52.appspot.com/daras_ai/media/a4481d58-88d9-11ee-aa86-02420a000165/Text%20guided%20audio%20generator.png.png" + explore_image = "https://storage.googleapis.com/dara-c1b52.appspot.com/daras_ai/media/a4481d58-88d9-11ee-aa86-02420a000165/Text%20guided%20audio%20generator.png.png" workflow = Workflow.TEXT_2_AUDIO slug_versions = ["text2audio"] diff --git a/recipes/TextToSpeech.py b/recipes/TextToSpeech.py index 7a9a561ee..1ee2296ef 100644 --- a/recipes/TextToSpeech.py +++ b/recipes/TextToSpeech.py @@ -27,7 +27,7 @@ class TextToSpeechPage(BasePage): title = "Compare AI Voice Generators" - image = "https://storage.googleapis.com/dara-c1b52.appspot.com/daras_ai/media/3621e11a-88d9-11ee-b549-02420a000167/Compare%20AI%20voice%20generators.png.png" + explore_image = "https://storage.googleapis.com/dara-c1b52.appspot.com/daras_ai/media/3621e11a-88d9-11ee-b549-02420a000167/Compare%20AI%20voice%20generators.png.png" workflow = Workflow.TEXT_TO_SPEECH slug_versions = [ "TextToSpeech", diff --git a/recipes/VideoBots.py b/recipes/VideoBots.py index 53513c73f..348aeef07 100644 --- a/recipes/VideoBots.py +++ b/recipes/VideoBots.py @@ -97,7 +97,7 @@ class ReplyButton(typing.TypedDict): class VideoBotsPage(BasePage): title = "Copilot for your Enterprise" # "Create Interactive Video Bots" - image = "https://storage.googleapis.com/dara-c1b52.appspot.com/daras_ai/media/8c014530-88d4-11ee-aac9-02420a00016b/Copilot.png.png" + explore_image = "https://storage.googleapis.com/dara-c1b52.appspot.com/daras_ai/media/8c014530-88d4-11ee-aac9-02420a00016b/Copilot.png.png" workflow = Workflow.VIDEO_BOTS slug_versions = ["video-bots", "bots", "copilot"] diff --git a/recipes/asr.py b/recipes/asr.py index 96b48850f..a297bf9c3 100644 --- a/recipes/asr.py +++ b/recipes/asr.py @@ -30,7 +30,7 @@ class AsrPage(BasePage): title = "Speech Recognition & Translation" - image = "https://storage.googleapis.com/dara-c1b52.appspot.com/daras_ai/media/5fb7e5f6-88d9-11ee-aa86-02420a000165/Speech.png.png" + explore_image = "https://storage.googleapis.com/dara-c1b52.appspot.com/daras_ai/media/5fb7e5f6-88d9-11ee-aa86-02420a000165/Speech.png.png" workflow = Workflow.ASR slug_versions = ["asr", "speech"] diff --git a/recipes/embeddings_page.py b/recipes/embeddings_page.py index 8c2214a2d..76efe16d9 100644 --- a/recipes/embeddings_page.py +++ b/recipes/embeddings_page.py @@ -39,7 +39,7 @@ class EmbeddingModels(models.TextChoices): class EmbeddingsPage(BasePage): title = "Embeddings" - image = "https://storage.googleapis.com/dara-c1b52.appspot.com/daras_ai/media/aeb83ee8-889e-11ee-93dc-02420a000143/Youtube%20transcripts%20GPT%20extractions.png.png" + explore_image = "https://storage.googleapis.com/dara-c1b52.appspot.com/daras_ai/media/aeb83ee8-889e-11ee-93dc-02420a000143/Youtube%20transcripts%20GPT%20extractions.png.png" workflow = Workflow.EMBEDDINGS slug_versions = ["embeddings", "embed", "text-embedings"] price = 1