Caerii commited on
Commit
07172e0
·
1 Parent(s): 5cf8c59

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -3
app.py CHANGED
@@ -44,12 +44,12 @@ chat_interface = gr.Interface(
44
  gr.State() # State input to hold the history
45
  ],
46
  outputs=[
47
- gr.Textbox(label="OpenAI Response", lines=10), # More lines for displaying the history
48
- gr.State(hidden=True) # State output to pass the history back to the function
49
  ],
50
  title="OpenAI Chatbot",
51
  description="Talk to a bot powered by OpenAI GPT-3.",
52
- theme=theme
53
  )
54
 
55
  if __name__ == "__main__":
 
44
  gr.State() # State input to hold the history
45
  ],
46
  outputs=[
47
+ gr.Textbox(label="OpenAI Response"), # Textbox for the chatbot's response
48
+ gr.State() # State output to pass the history back to the function
49
  ],
50
  title="OpenAI Chatbot",
51
  description="Talk to a bot powered by OpenAI GPT-3.",
52
+ theme=theme # Apply the custom theme here
53
  )
54
 
55
  if __name__ == "__main__":