juanesbch commited on
Commit
2aad0e7
β€’
1 Parent(s): 06f2d5a

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +5 -2
app.py CHANGED
@@ -39,7 +39,10 @@ def summarize_and_translate(news_text):
39
  input_interface = gr.inputs.Textbox(label="Input your News text! (Spanish)")
40
  output_interface = gr.outputs.Textbox(label="Your Summarized News Text in Native Quechua!")
41
 
42
- # Create and launch the Gradio app
 
43
 
44
- iface = gr.Interface(fn=summarize_and_translate, inputs=input_interface, outputs=output_interface, title="Spanish-to-Quechua News Summarization and Translation")
 
 
45
  iface.launch()
 
39
  input_interface = gr.inputs.Textbox(label="Input your News text! (Spanish)")
40
  output_interface = gr.outputs.Textbox(label="Your Summarized News Text in Native Quechua!")
41
 
42
+ # Add poster link to the interface description
43
+ description = "This is a Spanish-to-Quechua news summarization and translation app. It uses a state-of-the-art AI model to summarize news articles in Spanish and translate the summary to Quechua. You can learn more about this project and its creators by visiting this <a href='https://files.fm/u/ktszfunsz'>poster</a>."
44
 
45
+ # Create and launch the Gradio app
46
+ iface = gr.Interface(fn=summarize_and_translate, inputs=input_interface, outputs=output_interface,
47
+ title="Spanish-to-Quechua News Summarization and Translation", description=description)
48
  iface.launch()