Spaces:
Runtime error
Runtime error
Jayeshbhaal
commited on
Commit
·
102f3e2
1
Parent(s):
cdb75fa
Upload app.py with huggingface_hub
Browse files
app.py
CHANGED
@@ -66,11 +66,11 @@ with gr.Blocks() as demo:
|
|
66 |
<p style="margin-bottom: 10px; font-size: 94%">
|
67 |
Hi, I'm a Q and A langchain expert bot, start by typing in your OpenAI API key, questions/issues you are facing in your langchain implementations and then press enter.<br>
|
68 |
<a href="https://huggingface.co/spaces/ysharma/InstructPix2Pix_Chatbot?duplicate=true"><img src="https://bit.ly/3gLdBN6" alt="Duplicate Space"></a>Duplicate Space with GPU Upgrade for fast Inference & no queue<br>
|
69 |
-
Built using <a href="https://langchain.readthedocs.io/en/latest/" target="_blank">LangChain</a> and <a href="https://github.com/gradio-app/gradio" target="_blank">Gradio
|
70 |
</p>
|
71 |
</div>""")
|
72 |
with gr.Row():
|
73 |
-
question = gr.Textbox(label = 'Type in your questions about
|
74 |
openai_api_key = gr.Textbox(type='password', label="Enter your OpenAI API key here")
|
75 |
state = gr.State()
|
76 |
chatbot = gr.Chatbot()
|
|
|
66 |
<p style="margin-bottom: 10px; font-size: 94%">
|
67 |
Hi, I'm a Q and A langchain expert bot, start by typing in your OpenAI API key, questions/issues you are facing in your langchain implementations and then press enter.<br>
|
68 |
<a href="https://huggingface.co/spaces/ysharma/InstructPix2Pix_Chatbot?duplicate=true"><img src="https://bit.ly/3gLdBN6" alt="Duplicate Space"></a>Duplicate Space with GPU Upgrade for fast Inference & no queue<br>
|
69 |
+
Built using <a href="https://langchain.readthedocs.io/en/latest/" target="_blank">LangChain</a> and <a href="https://github.com/gradio-app/gradio" target="_blank">Gradio</a> for the langchain Repo
|
70 |
</p>
|
71 |
</div>""")
|
72 |
with gr.Row():
|
73 |
+
question = gr.Textbox(label = 'Type in your questions about langchain here and press Enter!', placeholder = 'What questions do you want to ask about the langchain library?')
|
74 |
openai_api_key = gr.Textbox(type='password', label="Enter your OpenAI API key here")
|
75 |
state = gr.State()
|
76 |
chatbot = gr.Chatbot()
|