dromerosm commited on
Commit
a8c7832
·
1 Parent(s): 7349a3a

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -52,7 +52,7 @@ iface = gr.Interface(
52
  outputs=[gr.Textbox(label="Output:"), gr.Textbox(label="Tokens:")],
53
  examples=[["Summarize the following text as a list:","https://blog.google/outreach-initiatives/google-org/our-commitment-on-using-ai-to-accelerate-progress-on-global-development-goals/","",0.3],
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."
 
52
  outputs=[gr.Textbox(label="Output:"), gr.Textbox(label="Tokens:")],
53
  examples=[["Summarize the following text as a list:","https://blog.google/outreach-initiatives/google-org/our-commitment-on-using-ai-to-accelerate-progress-on-global-development-goals/","",0.3],
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."