RamV commited on
Commit
1a19582
·
1 Parent(s): 5257812

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -2
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(text_area=conversation_prompt)
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()