Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
@@ -54,8 +54,7 @@ iface = gr.Interface(
|
|
54 |
["Generate a summary of the following text. Give me an overview of main business impact from the text following this template:\n- Summary:\n- Business Impact:\n- Companies:", "https://ai.googleblog.com/2019/10/quantum-supremacy-using-programmable.html","",0.7]
|
55 |
],
|
56 |
title="ChatGPT info extraction",
|
57 |
-
description="This tool allows querying the text retrieved from the URL using OpenAI's [text-davinci-003] engine.\nThe URL text can be referenced in the prompt as \"following text\".\nA GPT2 tokenizer is included to ensure that the 2000 token limit for OpenAI queries is not exceeded."
|
58 |
-
footer="Provide a prompt with your request, the url for text retrieval, your api-key and temperature to process the text."
|
59 |
)
|
60 |
|
61 |
iface.launch(inline=False)
|
|
|
54 |
["Generate a summary of the following text. Give me an overview of main business impact from the text following this template:\n- Summary:\n- Business Impact:\n- Companies:", "https://ai.googleblog.com/2019/10/quantum-supremacy-using-programmable.html","",0.7]
|
55 |
],
|
56 |
title="ChatGPT info extraction",
|
57 |
+
description="This tool allows querying the text retrieved from the URL using OpenAI's [text-davinci-003] engine.\nThe URL text can be referenced in the prompt as \"following text\".\nA GPT2 tokenizer is included to ensure that the 2000 token limit for OpenAI queries is not exceeded. Provide a prompt with your request, the url for text retrieval, your api-key and temperature to process the text."
|
|
|
58 |
)
|
59 |
|
60 |
iface.launch(inline=False)
|