Update app.py
Browse files
app.py
CHANGED
@@ -1,6 +1,7 @@
|
|
1 |
from util import SUMMARIZE
|
|
|
2 |
|
3 |
interface = gradio.Interface(fn=SUMMARIZE,
|
4 |
inputs=gradio.TextArea(lines=2, value="https://medium.com/analytics-vidhya/openai-gpt-3-language-models-are-few-shot-learners-82531b3d3122"),
|
5 |
-
outputs=gradio.TextArea())
|
6 |
interface.launch(share=True)
|
|
|
1 |
from util import SUMMARIZE
|
2 |
+
import gradio
|
3 |
|
4 |
interface = gradio.Interface(fn=SUMMARIZE,
|
5 |
inputs=gradio.TextArea(lines=2, value="https://medium.com/analytics-vidhya/openai-gpt-3-language-models-are-few-shot-learners-82531b3d3122"),
|
6 |
+
outputs=gradio.TextArea(placeholder='This link is an article by Soheil Tehrani about OAI'))
|
7 |
interface.launch(share=True)
|