UI, AI social writer, copywriter, WIP
This commit is contained in:
46
alwrity.py
46
alwrity.py
@@ -32,14 +32,14 @@ def prompt_for_time_range():
|
|||||||
|
|
||||||
def write_blog_options():
|
def write_blog_options():
|
||||||
choices = [
|
choices = [
|
||||||
("Keywords", "Keywords - Provide main blog keywords Or Title"),
|
("Keywords", "Write from few keywords"),
|
||||||
("Audio To Blog", "Audio To Blog - Transcribe Audio files into blog content"),
|
("Audio To Blog", "Write from audio files"),
|
||||||
("AI Story Writer", "AI Story Writer"),
|
("AI Story Writer", "Story Writer"),
|
||||||
("AI Essay Writer", "AI Essay writer"),
|
("AI Essay Writer", "Essay writer"),
|
||||||
("AI News Articles", "AI News Writer - AI News article writer, factual trusted sources"),
|
("AI News Articles", "Write News reports"),
|
||||||
("AI Finance Writer", "AI Finance Writer - Write stocks Techincal Analysis report."),
|
("AI Finance Writer", "Write Financial TA report"),
|
||||||
("Programming", "Programming - Write technical blogs on latest topics"),
|
("Social", "AI Social writer(instagram, tweets, linkedin, facebook post)"),
|
||||||
("Scholar", "Scholar - Research Reports from google scholar, arxiv articles."),
|
("Copywriter", "AI Copywriter"),
|
||||||
("Quit", "Quit")
|
("Quit", "Quit")
|
||||||
]
|
]
|
||||||
selected_blog_type = radiolist_dialog(title="Choose Content creation Type:", values=choices).run()
|
selected_blog_type = radiolist_dialog(title="Choose Content creation Type:", values=choices).run()
|
||||||
@@ -56,33 +56,23 @@ def start_interactive_mode():
|
|||||||
print(text)
|
print(text)
|
||||||
|
|
||||||
choices = [
|
choices = [
|
||||||
("AI Writers", "Choose AI Writers - (I Know What To Write)"),
|
("AI Writers", "Write with AI"),
|
||||||
("Content Planning", "Content Planning Tools - (I Don't Know, What to write)"),
|
("Content Planning", "Plan Content with AI"),
|
||||||
("AI Image to Text Writer", "AI Image to Text Writer"),
|
("Content Teams", "AI Content Agent Teams"),
|
||||||
("Online Blog Tools/Apps", "Online AI Apps - Content & Digital marketing"),
|
|
||||||
("Create Blog Images", "Create Images - Stability, Dalle3"),
|
|
||||||
("AI Social Media(TBD)", "AI Social Media(TBD)"),
|
|
||||||
("AI CopyWriter(TBD)", "AI CopyWriter(TBD)"),
|
|
||||||
("Quit", "Quit")
|
("Quit", "Quit")
|
||||||
]
|
]
|
||||||
mode = radiolist_dialog(title="Choose an option:", values=choices).run()
|
mode = radiolist_dialog(title="Choose an option:", values=choices).run()
|
||||||
if mode:
|
if mode:
|
||||||
if mode == 'AI Writers':
|
if mode == 'AI Writers':
|
||||||
write_blog()
|
write_blog()
|
||||||
elif mode == 'AI Image to Text Writer':
|
|
||||||
image_to_text_writer()
|
|
||||||
elif mode == 'Create Blog Images':
|
|
||||||
image_generator()
|
|
||||||
elif mode == 'Content Planning':
|
elif mode == 'Content Planning':
|
||||||
content_planning_tools()
|
content_planning_tools()
|
||||||
elif mode == 'Online Blog Tools/Apps':
|
elif mode == 'Content Teams':
|
||||||
blog_tools()
|
print("AI Content teams")
|
||||||
elif mode == 'AI Social Media(TBD)':
|
#ai_content_team()
|
||||||
|
elif mode == 'Social Media':
|
||||||
print(""" #whatsapp #instagram #youtube #twitter/X #Linked-in posts """)
|
print(""" #whatsapp #instagram #youtube #twitter/X #Linked-in posts """)
|
||||||
raise typer.Exit()
|
raise typer.Exit()
|
||||||
elif mode == 'AI Code Writer(TBD)':
|
|
||||||
print("Coming soon, TBD")
|
|
||||||
raise typer.Exit()
|
|
||||||
elif mode == 'Quit':
|
elif mode == 'Quit':
|
||||||
typer.echo("Exiting, Getting Lost!")
|
typer.echo("Exiting, Getting Lost!")
|
||||||
raise typer.Exit()
|
raise typer.Exit()
|
||||||
@@ -180,12 +170,6 @@ def write_blog():
|
|||||||
ai_news_writer()
|
ai_news_writer()
|
||||||
elif blog_type == 'AI Finance Writer':
|
elif blog_type == 'AI Finance Writer':
|
||||||
ai_finance_ta_writer()
|
ai_finance_ta_writer()
|
||||||
elif blog_type == 'GitHub':
|
|
||||||
github = prompt("Enter GitHub URL, CSV file, or topic:")
|
|
||||||
print(f"Write blog based on GitHub: {github}")
|
|
||||||
elif blog_type == 'Scholar':
|
|
||||||
scholar = prompt("Enter research papers keywords Or URL:")
|
|
||||||
print(f"Write blog based on scholar: {scholar}")
|
|
||||||
elif blog_type == 'Quit':
|
elif blog_type == 'Quit':
|
||||||
typer.echo("Exiting, Getting Lost..")
|
typer.echo("Exiting, Getting Lost..")
|
||||||
raise typer.Exit()
|
raise typer.Exit()
|
||||||
|
|||||||
Reference in New Issue
Block a user