king007 commited on
Commit
1cef11f
·
1 Parent(s): 2c77548

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -1
app.py CHANGED
@@ -53,6 +53,7 @@ prompt_textbox = gr.Textbox(label="", lines=10)
53
 
54
  promptType_textbox = gr.Textbox(label="", lines=2)
55
  json_output=gr.JSON(label="Output", visible=True)
 
56
  gr.Interface(fn=getPromptByPromptType,
57
  inputs=[promptType_textbox],
58
- outputs=[json_output]).launch()
 
53
 
54
  promptType_textbox = gr.Textbox(label="", lines=2)
55
  json_output=gr.JSON(label="Output", visible=True)
56
+ jsonstr_output = gr.Textbox(label="", lines=10)
57
  gr.Interface(fn=getPromptByPromptType,
58
  inputs=[promptType_textbox],
59
+ outputs=[jsonstr_output]).launch()