RamV commited on
Commit
5356743
·
1 Parent(s): 1f516e9

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +7 -0
app.py CHANGED
@@ -36,5 +36,12 @@ while True:
36
  response = generate_response(user_input)
37
  print("Chatbot:", response)
38
  print("Welcome to the chatbot!\n")
 
 
 
 
 
 
 
39
 
40
 
 
36
  response = generate_response(user_input)
37
  print("Chatbot:", response)
38
  print("Welcome to the chatbot!\n")
39
+ block = gr.Interface(
40
+ fn=openai_chat_history,
41
+ inputs=[gr.inputs.Textbox(placeholder=conversation_prompt)],
42
+ outputs=[gr.outputs.Textbox(label="ChatRobo Output")]
43
+ )
44
+ block.launch()
45
+
46
 
47