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) |