hrishikeshagi commited on
Commit
36291f7
β€’
1 Parent(s): d1f0e6f

Rename cohereblogpost.py to app.py

Browse files
Files changed (1) hide show
  1. cohereblogpost.py β†’ app.py +1 -12
cohereblogpost.py β†’ app.py RENAMED
@@ -1,15 +1,4 @@
1
- # -*- coding: utf-8 -*-
2
- """cohereblogpost.ipynb
3
 
4
- Automatically generated by Colaboratory.
5
-
6
- Original file is located at
7
- https://colab.research.google.com/drive/1ayh0Wdn_olBVoK3oviOQnBx93AAS2g-M
8
- """
9
-
10
- !pip install requests gradio -q
11
-
12
- !pip install cohere -q
13
 
14
  import cohere
15
 
@@ -35,7 +24,7 @@ with gr.Blocks() as demo:
35
  gr.Markdown("# Artificial Literature Generator : By Hrishikesh")
36
  #with gr.Row():
37
  inp = gr.Textbox(placeholder="Enter the text", label = "Topic")
38
- btn = gr.Button("Generate πŸš€")
39
  out = gr.Textbox()
40
  btn.click(fn=write_post, inputs=inp, outputs=out)
41
 
 
 
 
1
 
 
 
 
 
 
 
 
 
 
2
 
3
  import cohere
4
 
 
24
  gr.Markdown("# Artificial Literature Generator : By Hrishikesh")
25
  #with gr.Row():
26
  inp = gr.Textbox(placeholder="Enter the text", label = "Topic")
27
+ btn = gr.Button("Generate your literature")
28
  out = gr.Textbox()
29
  btn.click(fn=write_post, inputs=inp, outputs=out)
30