AV-AV commited on
Commit
d9af52d
·
verified ·
1 Parent(s): c1c16ed

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +9 -9
app.py CHANGED
@@ -90,22 +90,19 @@ with gr.Blocks() as demo:
90
  gr.Markdown("## AV Blog Editor V1")
91
  gr.Markdown("### Guidelines (make sure to read these before using)")
92
  gr.Markdown("""
93
- 1. Use your discretion while using this tool.
94
  2. The italicised content in the edited article represents the changes made by GPT. Make sure to review the changes.
95
- 3. The text under !! in the edited article shows approximate areas where a reference link is required.
96
  4. The score and suggestions of various sections are good pointers to reflect back on your article.
97
- 5. The percentage of GPT-generated content might not perfectly match what third-party tools show.
98
- 6. Make sure to check third-party tools before using the edited article.
99
- 7. Share any suggestions for improvements in this tool!
100
  """)
101
 
102
  # Input article in a single row
103
  with gr.Row():
104
  article_input = gr.Textbox(label="Input Article", lines=15, placeholder="Enter your article here...")
105
 
106
- # Submit button below the input article
107
- submit_btn = gr.Button("Submit")
108
-
109
  # Outputs in two columns
110
  with gr.Row():
111
  with gr.Column():
@@ -121,11 +118,14 @@ with gr.Blocks() as demo:
121
  top_suggestions = gr.Textbox(label="Top 5 Suggestions", lines=5)
122
  pre_editing_genai = gr.Textbox(label="PreEditing GenAI Content%", lines=1)
123
  post_editing_genai = gr.Textbox(label="PostEditing GenAI Content%", lines=1)
124
-
125
  # Edited article markdown
126
  gr.Markdown("### Edited Article")
127
  edited_article = gr.Markdown(label="Edited Article")
128
 
 
 
 
129
  # Action on submit
130
  submit_btn.click(
131
  process_article,
 
90
  gr.Markdown("## AV Blog Editor V1")
91
  gr.Markdown("### Guidelines (make sure to read these before using)")
92
  gr.Markdown("""
93
+ 1. Use your discretion while using this tool
94
  2. The italicised content in the edited article represents the changes made by GPT. Make sure to review the changes.
95
+ 3. The text under !! in the edited article shows approximate areas where reference link is required. The link it shows may not be correct.
96
  4. The score and suggestions of various sections are good pointers to reflect back on your article.
97
+ 5. The percentage of GPT generated content will not match what zerogpt.com says. Go with what zerogpt says.
98
+ 6. Make sure to check zerogpt before using the edited article
99
+ 7. Do share any suggestions for improvements in this tool with Apoorv. You can get some candies for that :)
100
  """)
101
 
102
  # Input article in a single row
103
  with gr.Row():
104
  article_input = gr.Textbox(label="Input Article", lines=15, placeholder="Enter your article here...")
105
 
 
 
 
106
  # Outputs in two columns
107
  with gr.Row():
108
  with gr.Column():
 
118
  top_suggestions = gr.Textbox(label="Top 5 Suggestions", lines=5)
119
  pre_editing_genai = gr.Textbox(label="PreEditing GenAI Content%", lines=1)
120
  post_editing_genai = gr.Textbox(label="PostEditing GenAI Content%", lines=1)
121
+
122
  # Edited article markdown
123
  gr.Markdown("### Edited Article")
124
  edited_article = gr.Markdown(label="Edited Article")
125
 
126
+ # Button to submit and process the article
127
+ submit_btn = gr.Button("Submit")
128
+
129
  # Action on submit
130
  submit_btn.click(
131
  process_article,