focusit commited on
Commit
62cbf4d
·
1 Parent(s): b63b04d

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +7 -7
app.py CHANGED
@@ -1,4 +1,4 @@
1
- # import gradio
2
  import requests
3
  import os
4
  import json
@@ -21,9 +21,9 @@ def responsenew(uinput):
21
 
22
 
23
 
24
- # gradio_interface = gradio.Interface(
25
- # fn = responsenew,
26
- # inputs = "text",
27
- # outputs = "text"
28
- # )
29
- # gradio_interface.launch()
 
1
+ import gradio
2
  import requests
3
  import os
4
  import json
 
21
 
22
 
23
 
24
+ gradio_interface = gradio.Interface(
25
+ fn = responsenew,
26
+ inputs = "text",
27
+ outputs = "text"
28
+ )
29
+ gradio_interface.launch()