Skip to content

Commit

Permalink
add bulk eval metadata
Browse files Browse the repository at this point in the history
rename image -> explore_image
render resized images on explore page
  • Loading branch information
devxpy committed Dec 14, 2023
1 parent 94c99a8 commit e5ba772
Show file tree
Hide file tree
Showing 34 changed files with 71 additions and 43 deletions.
9 changes: 5 additions & 4 deletions daras_ai_v2/base.py
Original file line number Diff line number Diff line change
Expand Up @@ -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]

Expand Down Expand Up @@ -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:
Expand Down Expand Up @@ -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()):
Expand Down
12 changes: 8 additions & 4 deletions daras_ai_v2/meta_preview_url.py
Original file line number Diff line number Diff line change
@@ -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

Expand All @@ -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)
Expand Down
11 changes: 7 additions & 4 deletions explore.py
Original file line number Diff line number Diff line change
@@ -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"
Expand All @@ -25,17 +28,17 @@ 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()
render_image(page, state)
# 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},
)
Expand Down
22 changes: 21 additions & 1 deletion recipes/BulkEval.py
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down
2 changes: 1 addition & 1 deletion recipes/BulkRunner.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion recipes/ChyronPlant.py
Original file line number Diff line number Diff line change
Expand Up @@ -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"]

Expand Down
2 changes: 1 addition & 1 deletion recipes/CompareLLM.py
Original file line number Diff line number Diff line change
Expand Up @@ -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"]

Expand Down
2 changes: 1 addition & 1 deletion recipes/CompareText2Img.py
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down
2 changes: 1 addition & 1 deletion recipes/CompareUpscaler.py
Original file line number Diff line number Diff line change
Expand Up @@ -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"]

Expand Down
2 changes: 1 addition & 1 deletion recipes/DeforumSD.py
Original file line number Diff line number Diff line change
Expand Up @@ -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"]

Expand Down
2 changes: 1 addition & 1 deletion recipes/DocExtract.py
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down
2 changes: 1 addition & 1 deletion recipes/DocSearch.py
Original file line number Diff line number Diff line change
Expand Up @@ -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"]

Expand Down
2 changes: 1 addition & 1 deletion recipes/DocSummary.py
Original file line number Diff line number Diff line change
Expand Up @@ -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"]

Expand Down
2 changes: 1 addition & 1 deletion recipes/EmailFaceInpainting.py
Original file line number Diff line number Diff line change
Expand Up @@ -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"]

Expand Down
2 changes: 1 addition & 1 deletion recipes/FaceInpainting.py
Original file line number Diff line number Diff line change
Expand Up @@ -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"]

Expand Down
2 changes: 1 addition & 1 deletion recipes/GoogleGPT.py
Original file line number Diff line number Diff line change
Expand Up @@ -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"]

Expand Down
2 changes: 1 addition & 1 deletion recipes/GoogleImageGen.py
Original file line number Diff line number Diff line change
Expand Up @@ -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"]

Expand Down
2 changes: 1 addition & 1 deletion recipes/ImageSegmentation.py
Original file line number Diff line number Diff line change
Expand Up @@ -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"]

Expand Down
2 changes: 1 addition & 1 deletion recipes/Img2Img.py
Original file line number Diff line number Diff line change
Expand Up @@ -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"]

Expand Down
2 changes: 1 addition & 1 deletion recipes/LetterWriter.py
Original file line number Diff line number Diff line change
Expand Up @@ -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"]

Expand Down
2 changes: 1 addition & 1 deletion recipes/Lipsync.py
Original file line number Diff line number Diff line change
Expand Up @@ -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"]

Expand Down
2 changes: 1 addition & 1 deletion recipes/LipsyncTTS.py
Original file line number Diff line number Diff line change
Expand Up @@ -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"]

Expand Down
2 changes: 1 addition & 1 deletion recipes/ObjectInpainting.py
Original file line number Diff line number Diff line change
Expand Up @@ -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"]

Expand Down
2 changes: 1 addition & 1 deletion recipes/QRCodeGenerator.py
Original file line number Diff line number Diff line change
Expand Up @@ -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"]

Expand Down
2 changes: 1 addition & 1 deletion recipes/RelatedQnA.py
Original file line number Diff line number Diff line change
Expand Up @@ -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"]

Expand Down
2 changes: 1 addition & 1 deletion recipes/RelatedQnADoc.py
Original file line number Diff line number Diff line change
Expand Up @@ -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"]

Expand Down
2 changes: 1 addition & 1 deletion recipes/SEOSummary.py
Original file line number Diff line number Diff line change
Expand Up @@ -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"]

Expand Down
2 changes: 1 addition & 1 deletion recipes/SmartGPT.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion recipes/SocialLookupEmail.py
Original file line number Diff line number Diff line change
Expand Up @@ -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"]

Expand Down
2 changes: 1 addition & 1 deletion recipes/Text2Audio.py
Original file line number Diff line number Diff line change
Expand Up @@ -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"]

Expand Down
2 changes: 1 addition & 1 deletion recipes/TextToSpeech.py
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down
2 changes: 1 addition & 1 deletion recipes/VideoBots.py
Original file line number Diff line number Diff line change
Expand Up @@ -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"]

Expand Down
2 changes: 1 addition & 1 deletion recipes/asr.py
Original file line number Diff line number Diff line change
Expand Up @@ -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"]

Expand Down
2 changes: 1 addition & 1 deletion recipes/embeddings_page.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit e5ba772

Please sign in to comment.