Spaces:
Runtime error
Runtime error
Commit
•
217aef6
1
Parent(s):
a56856e
Update app.py
Browse files
app.py
CHANGED
@@ -52,5 +52,5 @@ def build_prompt(message,history):
|
|
52 |
return invoke_openai(prompt,history)
|
53 |
|
54 |
|
55 |
-
iface = gr.ChatInterface(build_prompt, chatbot=gr.Chatbot(height=
|
56 |
iface.launch(share=True)
|
|
|
52 |
return invoke_openai(prompt,history)
|
53 |
|
54 |
|
55 |
+
iface = gr.ChatInterface(build_prompt, chatbot=gr.Chatbot(height=300), textbox=gr.Textbox(placeholder="Ask me a question", container=False, scale=7), title="GenAIx", examples = ["How coversational chat works","Can you write a code snippet for conversation bot?"], theme="soft", cache_examples=False, retry_btn=None, undo_btn="Delete Previous", clear_btn="Clear",)
|
56 |
iface.launch(share=True)
|