Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -130,12 +130,13 @@ _Note:_ this is an internal playground - please do not share. The deployment can
|
|
130 |
with gr.Column(scale=3):
|
131 |
instruction = gr.Textbox(placeholder="Enter your prompt here", label="Prompt", elem_id="q-input")
|
132 |
submit = gr.Button("Generate", variant="primary")
|
133 |
-
|
134 |
-
|
135 |
with gr.Group(elem_id="share-btn-container"):
|
136 |
community_icon = gr.HTML(community_icon_html, visible=True)
|
137 |
loading_icon = gr.HTML(loading_icon_html, visible=True)
|
138 |
share_button = gr.Button("Share to community", elem_id="share-btn", visible=True)
|
|
|
139 |
gr.Examples(
|
140 |
examples=examples,
|
141 |
inputs=[instruction],
|
@@ -143,6 +144,7 @@ _Note:_ this is an internal playground - please do not share. The deployment can
|
|
143 |
fn=process_example,
|
144 |
outputs=[output],
|
145 |
)
|
|
|
146 |
|
147 |
with gr.Column(scale=1):
|
148 |
|
|
|
130 |
with gr.Column(scale=3):
|
131 |
instruction = gr.Textbox(placeholder="Enter your prompt here", label="Prompt", elem_id="q-input")
|
132 |
submit = gr.Button("Generate", variant="primary")
|
133 |
+
output = gr.Code(elem_id="q-output")
|
134 |
+
|
135 |
with gr.Group(elem_id="share-btn-container"):
|
136 |
community_icon = gr.HTML(community_icon_html, visible=True)
|
137 |
loading_icon = gr.HTML(loading_icon_html, visible=True)
|
138 |
share_button = gr.Button("Share to community", elem_id="share-btn", visible=True)
|
139 |
+
|
140 |
gr.Examples(
|
141 |
examples=examples,
|
142 |
inputs=[instruction],
|
|
|
144 |
fn=process_example,
|
145 |
outputs=[output],
|
146 |
)
|
147 |
+
gr.Markdown(FORMATS)
|
148 |
|
149 |
with gr.Column(scale=1):
|
150 |
|