Spaces:
Runtime error
Runtime error
Update app.py
Browse files
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=[
|
|
|
|
| 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()
|