Ephraimmm commited on
Commit
be11ddd
·
verified ·
1 Parent(s): 89e8467

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -3
app.py CHANGED
@@ -244,7 +244,7 @@ import gradio as gr
244
 
245
  def stream_pitchdeck2(company_name, url):
246
  if not company_name or not url:
247
- return "Please provide both company name and URL."
248
 
249
  user_prompt = get_pitch_user_prompt(company_name, url)
250
 
@@ -276,11 +276,11 @@ iface2 = gr.Interface(
276
  fn=stream_pitchdeck2,
277
  inputs=[
278
  gr.Textbox(label="Company Name"),
279
- gr.Textbox(label="Company Website URL")
280
  ],
281
  outputs=gr.Markdown(label="Generated Pitch Deck"),
282
  title="Company Pitch Deck Generator",
283
- description="Enter the company name and website URL to generate a pitch deck based on the website content."
284
  )
285
  iface2.launch(debug = True, share=True)
286
 
 
244
 
245
  def stream_pitchdeck2(company_name, url):
246
  if not company_name or not url:
247
+ return "Please provide both company name and URL.URL should start with https://"
248
 
249
  user_prompt = get_pitch_user_prompt(company_name, url)
250
 
 
276
  fn=stream_pitchdeck2,
277
  inputs=[
278
  gr.Textbox(label="Company Name"),
279
+ gr.Textbox(label="Company Website URL", value = "https://www.diamondadverts.com")
280
  ],
281
  outputs=gr.Markdown(label="Generated Pitch Deck"),
282
  title="Company Pitch Deck Generator",
283
+ description="Enter the company name and website URL to generate a pitch deck based on the website content. URL should start with https://""
284
  )
285
  iface2.launch(debug = True, share=True)
286