seekeroftruth commited on
Commit
5235f28
·
1 Parent(s): 38f769c

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -3
app.py CHANGED
@@ -997,9 +997,9 @@ with gr.Blocks(theme=gr.themes.Soft(primary_hue="amber").set(
997
  input_topic = gr.Textbox(label="Topic (Be descriptive about it and press enter to generate a title)",placeholder="What the science says about global warming? (Press enter to continue)")
998
  input_title = gr.Button("Generate Blog Sections")
999
  with gr.Column():
1000
- output_title = gr.Textbox(label="Generated Title")
1001
- output_blog_sections = gr.Textbox(label="Blog Sections")
1002
- complete_blog_text = gr.Textbox(label="Blog")
1003
  input_topic.submit(articletitle,input_topic,output_title,output_title)
1004
  input_title.click(outlinecreator,output_title,output_blog_sections)
1005
  complete_blog_btn = gr.Button("Generate Blog")
 
997
  input_topic = gr.Textbox(label="Topic (Be descriptive about it and press enter to generate a title)",placeholder="What the science says about global warming? (Press enter to continue)")
998
  input_title = gr.Button("Generate Blog Sections")
999
  with gr.Column():
1000
+ output_title = gr.Textbox(label="Generated Title",placeholder="Artifical General Intelligence",interactive=False)
1001
+ output_blog_sections = gr.Textbox(label="Blog Sections",placeholder="""1.What is artificial intelligence? 2.The history of AI 3.The limitations of AI 4.Artificial general intelligence 5.The future of AI 6.What to expect from AI Conclusion""",interactive=False)
1002
+ complete_blog_text = gr.Textbox(label="Blog",interactive=False,placeholder=""" 1.What is artificial intelligence? Artificial intelligence (AI) is intelligence demonstrated by machines, in contrast to the natural intelligence displayed by humans and other animals. In computer science, AI research is defined as the study of "intelligent agents": any device that perceives its environment and takes actions that maximize its chance of successfully achieving its goals. Colloquially, the term "artificial intelligence" is often used to describe machines (or computers) that mimic "cognitive" functions that humans associate with the human mind, such as "learning" and "problem solving". 2.The history of AI: Artificial intelligence has its origins in the question, "Can machines think?". Early research into artificial intelligence began in the late 1940s, and significant progress was made in the 1950s, with the introduction of programs that could solve simple problems and recognize words. 3.The limitations of AI: One of the limitations of AI is that it is currently limited in its ability to learn and adapt. This can make it difficult for AI systems to perform well in situations where there are large changes in data or parameters. Additionally, AI systems are prone to bias and generalization errors, which can make them less effective than humans in certain tasks. 4.Artificial general intelligence: Artificial general intelligence (AGI) is a hypothetical type of artificial intelligence that exhibits intelligent behavior across a broad range of tasks and applications. It is currently believed that general intelligence has not yet been achieved, although some experts believe that it may be possible to achieve it in the near future. 5.The future of AI: The future of AI is difficult to predict, but experts believe that it is likely that we will see significant advances in the technology in the coming years. It is likely that AI systems will become more accurate, more adaptive, and able to perform more complex tasks. Additionally, it is likely that we will see the development of AI systems that can interact with humans in a more natural and meaningful way. 6.What to expect from AI: As AI systems become more advanced, it is likely that we will see them being used in a variety of settings, including business, healthcare, and law enforcement. Additionally, it is likely that we will see the development of AI systems that can interact with humans in a more natural and meaningful way. """)
1003
  input_topic.submit(articletitle,input_topic,output_title,output_title)
1004
  input_title.click(outlinecreator,output_title,output_blog_sections)
1005
  complete_blog_btn = gr.Button("Generate Blog")