File size: 405 Bytes
6e745f5
5bb4890
fd85bc4
 
 
5bb4890
fd85bc4
1
2
3
4
5
6
7
from util import SUMMARIZE
import gradio

interface = gradio.Interface(fn=SUMMARIZE,
                             inputs=gradio.TextArea(lines=2, value="https://medium.com/analytics-vidhya/openai-gpt-3-language-models-are-few-shot-learners-82531b3d3122"),
                             outputs=gradio.TextArea(placeholder='This link is an article by Soheil Tehrani about OAI'))
interface.launch(share=True)