Geraldine commited on
Commit
c554fce
1 Parent(s): 7eae796

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -60,14 +60,14 @@ def clear_chromadb():
60
 
61
  with gr.Blocks(theme=gr.themes.Soft()) as demo:
62
  gr.HTML("<h2>Query your documents</h2>")
63
- gr.HTML("<p>Made with the embedchain Framework</p><p>The framework is built to be able to use multiple free or paid LLM (OpenAI GPT, GPT4ALL, llama2...), however open models like GPT4all or llama are very slow on CPU, which is why OpenAI is prefered here (the default embeddings model is text-embedding-ada-002 and the chat model is gpt-3.5-turbo)</p>")
64
  with gr.Row():
65
  openai_key = gr.Textbox(label="OpenAI API Key")
66
  out = gr.Textbox(interactive=False)
67
  openai_key.change(environ_api_key, openai_key, out)
68
  with gr.Row():
69
  with gr.Column(scale=1):
70
- gr.HTML("<h3>Create your context by combining document formats</h3>")
71
  pdf_urls = gr.Textbox(label="Online pdf urls (comma separated if multiple)")
72
  docx_urls = gr.Textbox(label="Online docx urls (comma separated if multiple)")
73
  youtube_urls = gr.Textbox(label="Youtube video urls (comma separated if multiple)")
 
60
 
61
  with gr.Blocks(theme=gr.themes.Soft()) as demo:
62
  gr.HTML("<h2>Query your documents</h2>")
63
+ gr.HTML("<p>Made with the embedchain Framework</p><p>The framework is builded to be able to use multiple free or paid LLM (OpenAI GPT, GPT4ALL, llama2...), however open models like GPT4all or llama are very slow on CPU, which is why OpenAI is prefered here (the default embeddings model is text-embedding-ada-002 and the chat model is gpt-3.5-turbo)</p>")
64
  with gr.Row():
65
  openai_key = gr.Textbox(label="OpenAI API Key")
66
  out = gr.Textbox(interactive=False)
67
  openai_key.change(environ_api_key, openai_key, out)
68
  with gr.Row():
69
  with gr.Column(scale=1):
70
+ gr.HTML("<h3>Create your context by combining multiple document formats</h3>")
71
  pdf_urls = gr.Textbox(label="Online pdf urls (comma separated if multiple)")
72
  docx_urls = gr.Textbox(label="Online docx urls (comma separated if multiple)")
73
  youtube_urls = gr.Textbox(label="Youtube video urls (comma separated if multiple)")