VenkateshRoshan commited on
Commit
e05da78
·
1 Parent(s): 584ee29

port update

Browse files
Files changed (2) hide show
  1. app.py +3 -2
  2. dockerfile +1 -1
app.py CHANGED
@@ -119,7 +119,8 @@ def create_chat_interface():
119
  chatbot = gr.Chatbot(
120
  label="Chat History",
121
  height=500,
122
- elem_classes="message-box"
 
123
  )
124
 
125
  with gr.Row():
@@ -169,7 +170,7 @@ def create_chat_interface():
169
  if __name__ == "__main__":
170
  demo = create_chat_interface()
171
  demo.launch(
172
- share=True,
173
  server_name="0.0.0.0", # Makes the server accessible from other machines
174
  server_port=8080, # Specify the port - updated from 7860 to 8080
175
  debug=True,
 
119
  chatbot = gr.Chatbot(
120
  label="Chat History",
121
  height=500,
122
+ elem_classes="message-box",
123
+ type="messages"
124
  )
125
 
126
  with gr.Row():
 
170
  if __name__ == "__main__":
171
  demo = create_chat_interface()
172
  demo.launch(
173
+ share=False,
174
  server_name="0.0.0.0", # Makes the server accessible from other machines
175
  server_port=8080, # Specify the port - updated from 7860 to 8080
176
  debug=True,
dockerfile CHANGED
@@ -74,7 +74,7 @@ COPY serve.sh .
74
  RUN chmod +x serve.sh
75
 
76
  # Expose the Gradio port
77
- EXPOSE 7860
78
 
79
  # Set entry point to the serve script
80
  ENTRYPOINT ["./serve.sh"]
 
74
  RUN chmod +x serve.sh
75
 
76
  # Expose the Gradio port
77
+ EXPOSE 8080
78
 
79
  # Set entry point to the serve script
80
  ENTRYPOINT ["./serve.sh"]