uhygfd commited on
Commit
66f2db0
·
verified ·
1 Parent(s): c3a80d7

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -1,7 +1,7 @@
1
  import requests
2
  import gradio as gr
3
 
4
- def generate(message):
5
  url = "https://p-bot-h629.onrender.com/ask"
6
  headers = {"Content-Type": "application/json"}
7
  data = {"text": message}
 
1
  import requests
2
  import gradio as gr
3
 
4
+ def generate(message, _=None):
5
  url = "https://p-bot-h629.onrender.com/ask"
6
  headers = {"Content-Type": "application/json"}
7
  data = {"text": message}