harshSethi commited on
Commit
0022354
·
verified ·
1 Parent(s): cf7ce56

Update gradio_app.py

Browse files
Files changed (1) hide show
  1. gradio_app.py +1 -1
gradio_app.py CHANGED
@@ -1,6 +1,6 @@
1
  import gradio as gr
2
  import requests
3
-
4
  def predict(message, history):
5
  # API request to FastAPI backend
6
  response = requests.post("http://0.0.0.0:8000/chat", json={"message": message, "history": history})
 
1
  import gradio as gr
2
  import requests
3
+ import logging
4
  def predict(message, history):
5
  # API request to FastAPI backend
6
  response = requests.post("http://0.0.0.0:8000/chat", json={"message": message, "history": history})