minko186 commited on
Commit
b900928
·
verified ·
1 Parent(s): d31c634

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +6 -5
app.py CHANGED
@@ -1,7 +1,8 @@
1
  import gradio as gr
2
 
3
- def greet(name):
4
- return "Hello " + name + "!!"
5
-
6
- demo = gr.Interface(fn=greet, inputs="text", outputs="text")
7
- demo.launch()
 
 
1
  import gradio as gr
2
 
3
+ with gr.Blocks() as demo:
4
+ gr.Markdown("# Polygraf Writer")
5
+ with gr.Row():
6
+ gr.Markdown("## Enter a topic to write an article about:")
7
+ input_topic = gr.Textbox(label="Topic")
8
+ gr.Markdown("### Humanized article:")