dromerosm commited on
Commit
bec9f78
1 Parent(s): ee3cced

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +6 -4
app.py CHANGED
@@ -106,11 +106,13 @@ iface = gr.Interface(
106
  gr.Textbox(lines=1, placeholder="Enter the Article's URL here...", label="Article's URL to analyse:", type="text"),
107
  gr.Textbox(lines=1, placeholder="Enter the MSFT Azure OpenAI endpoint here...", label="Azure endpoint:", type="text"),
108
  gr.Textbox(lines=1, placeholder="Enter your API-key here...", label="API-Key:", type="password"),
109
- gr.Slider(0.0,1.0, value=0.3, label="Temperature:")
110
  ],
111
- outputs=[gr.Textbox(label="Text from URL:"), gr.Markdown(label="Output from GPT:"), gr.Markdown(label="Total Tokens:")],
112
- examples=[["https://www.eleconomista.es/andalucia/noticias/11534190/12/21/Nueva-condena-a-ex-presidente-de-Invercaria-por-dar-300000-euros-a-una-empresa-inviable.html","","","0.2"],
113
- ["https://www.eleconomista.es/andalucia/noticias/11533733/12/21/El-juez-procesa-a-35-investigados-en-la-pieza-de-las-sobrecomisiones-de-los-ERE-.html","","","0.2"]
 
 
114
  ],
115
  title="ChatGPT - KYC from URL",
116
  description="""This tool allows to generate points of a KYC report based on the text retrieved from the URL using the [gpt-3.5-turbo] engine of MSFT Azure OpenAI.
 
106
  gr.Textbox(lines=1, placeholder="Enter the Article's URL here...", label="Article's URL to analyse:", type="text"),
107
  gr.Textbox(lines=1, placeholder="Enter the MSFT Azure OpenAI endpoint here...", label="Azure endpoint:", type="text"),
108
  gr.Textbox(lines=1, placeholder="Enter your API-key here...", label="API-Key:", type="password"),
109
+ gr.Slider(0.0,1.0, value=0.3, label="Temperature (0-1):")
110
  ],
111
+ outputs=[gr.Textbox(label="Text from URL:"),
112
+ gr.Markdown(label="Output from GPT:"),
113
+ gr.Markdown(label="Total Tokens:")],
114
+ examples=[["https://www.eleconomista.es/andalucia/noticias/11534190/12/21/Nueva-condena-a-ex-presidente-de-Invercaria-por-dar-300000-euros-a-una-empresa-inviable.html","","",0.2],
115
+ ["https://www.eleconomista.es/andalucia/noticias/11533733/12/21/El-juez-procesa-a-35-investigados-en-la-pieza-de-las-sobrecomisiones-de-los-ERE-.html","","",0.2]
116
  ],
117
  title="ChatGPT - KYC from URL",
118
  description="""This tool allows to generate points of a KYC report based on the text retrieved from the URL using the [gpt-3.5-turbo] engine of MSFT Azure OpenAI.