Spaces:
Runtime error
Runtime error
Commit
·
ed6061c
1
Parent(s):
98a941b
Update app.py
Browse files
app.py
CHANGED
|
@@ -42,6 +42,8 @@ with gr.Blocks() as demo:
|
|
| 42 |
def uploadApi(apikey):
|
| 43 |
openai.api_key = apikey
|
| 44 |
|
|
|
|
|
|
|
| 45 |
chatbot = gr.Chatbot().style(height=460)
|
| 46 |
input = gr.Textbox(label="Messeage")
|
| 47 |
nextBtn = gr.Button("Send message")
|
|
|
|
| 42 |
def uploadApi(apikey):
|
| 43 |
openai.api_key = apikey
|
| 44 |
|
| 45 |
+
gr.Markdown("This little app is a demonstration of how LLMs can be used to create Polls from a chat. To give it a try, discuss a topic with ChatGPT first and then push Generate Poll button. Poll question will be generated on the context of the chat."
|
| 46 |
+
|
| 47 |
chatbot = gr.Chatbot().style(height=460)
|
| 48 |
input = gr.Textbox(label="Messeage")
|
| 49 |
nextBtn = gr.Button("Send message")
|