Update app.py
Browse files
app.py
CHANGED
|
@@ -43,7 +43,7 @@ def openai_chat_history(input, history):
|
|
| 43 |
conversation_prompt = "Welcome to ChatRobo, kindly type in your enquiries: "
|
| 44 |
|
| 45 |
# Set up the Gradio interface
|
| 46 |
-
textbox = gr.inputs.Textbox(
|
| 47 |
textbox_output = gr.outputs.Textbox(label="ChatRobo Output")
|
| 48 |
|
| 49 |
block = gr.Interface(
|
|
@@ -54,4 +54,3 @@ block = gr.Interface(
|
|
| 54 |
|
| 55 |
# Launch the Gradio interface
|
| 56 |
block.launch()
|
| 57 |
-
|
|
|
|
| 43 |
conversation_prompt = "Welcome to ChatRobo, kindly type in your enquiries: "
|
| 44 |
|
| 45 |
# Set up the Gradio interface
|
| 46 |
+
textbox = gr.inputs.Textbox(placeholder=conversation_prompt)
|
| 47 |
textbox_output = gr.outputs.Textbox(label="ChatRobo Output")
|
| 48 |
|
| 49 |
block = gr.Interface(
|
|
|
|
| 54 |
|
| 55 |
# Launch the Gradio interface
|
| 56 |
block.launch()
|
|
|