mirxakamran893 commited on
Commit
e5f3c38
·
verified ·
1 Parent(s): c39c8ea

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -57,7 +57,7 @@ demo = gr.ChatInterface(
57
  examples=["How do I use pandas to filter rows?", "Fix this bug in my code", "What is Python typing?"],
58
  theme="soft",
59
  chatbot=gr.Chatbot(height=400),
60
- api_name="//chat" # ✅ enable POST access via /chat
61
  )
62
 
63
  if __name__ == "__main__":
 
57
  examples=["How do I use pandas to filter rows?", "Fix this bug in my code", "What is Python typing?"],
58
  theme="soft",
59
  chatbot=gr.Chatbot(height=400),
60
+ api_name="/chat"
61
  )
62
 
63
  if __name__ == "__main__":