Update app.py
Browse files
app.py
CHANGED
@@ -3,7 +3,6 @@ import gradio as gr
|
|
3 |
text_dict = {}
|
4 |
|
5 |
def predict(text, url_params, room=None , msg=None, request: gr.Request =None):
|
6 |
-
print(request.query_params , text)
|
7 |
#gr.Examples([["adam", "123", "333"]], [text_input, room_id, msg_id], text_output, predict)
|
8 |
text_input = gr.Text(url_params['text_input'])
|
9 |
msg_id = url_params['msg_id']
|
|
|
3 |
text_dict = {}
|
4 |
|
5 |
def predict(text, url_params, room=None , msg=None, request: gr.Request =None):
|
|
|
6 |
#gr.Examples([["adam", "123", "333"]], [text_input, room_id, msg_id], text_output, predict)
|
7 |
text_input = gr.Text(url_params['text_input'])
|
8 |
msg_id = url_params['msg_id']
|