Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
@@ -306,4 +306,29 @@ with gr.Blocks() as demo:
|
|
306 |
|
307 |
generate.click(fn=generate_news, inputs=inputs_list, outputs=[news_output, transcriptions_output])
|
308 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
309 |
demo.launch(share=True)
|
|
|
306 |
|
307 |
generate.click(fn=generate_news, inputs=inputs_list, outputs=[news_output, transcriptions_output])
|
308 |
|
309 |
+
# Add description about how to use the app
|
310 |
+
gr.Markdown("""
|
311 |
+
### How to Use This App
|
312 |
+
|
313 |
+
1. **Input your requirements:**
|
314 |
+
- Enter your news article instructions
|
315 |
+
- Describe the key facts of your news story
|
316 |
+
- Set the desired word count and tone
|
317 |
+
|
318 |
+
2. **Add your sources:**
|
319 |
+
- Upload audio/video files for automatic transcription
|
320 |
+
- Add social media URLs to extract content
|
321 |
+
- Include web URLs for additional information
|
322 |
+
- Upload documents (PDF, DOCX, XLSX, CSV) to extract relevant data
|
323 |
+
|
324 |
+
3. **Generate your draft:**
|
325 |
+
- Click "Generate Draft" to create your news article
|
326 |
+
- Review the transcriptions to verify source accuracy
|
327 |
+
- Use the generated draft as a starting point for your news story
|
328 |
+
|
329 |
+
This tool helps streamline the news writing process by automatically gathering, organizing, and synthesizing information from multiple sources into a cohesive article that follows journalistic best practices.
|
330 |
+
|
331 |
+
Created by [Camilo Vega](https://www.linkedin.com/in/camilo-vega-169084b1/), AI Consultant
|
332 |
+
""")
|
333 |
+
|
334 |
demo.launch(share=True)
|