pnadel commited on
Commit
c60bb58
·
verified ·
1 Parent(s): 5111244

Upload folder using huggingface_hub

Browse files
Files changed (1) hide show
  1. app.py +2 -1
app.py CHANGED
@@ -43,7 +43,8 @@ iface = gr.Interface(
43
  gr.Textbox(label="Message"),
44
  gr.Textbox(label="API Key", type="password")
45
  ],
46
- outputs="text"
 
47
  )
48
 
49
  iface.launch()
 
43
  gr.Textbox(label="Message"),
44
  gr.Textbox(label="API Key", type="password")
45
  ],
46
+ outputs="json",
47
+ api_name="chat"
48
  )
49
 
50
  iface.launch()