Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
|
@@ -298,9 +298,7 @@ with gr.Blocks() as ux:
|
|
| 298 |
with gr.Row(visible=False):
|
| 299 |
stt=gr.Textbox()
|
| 300 |
with gr.Column():
|
| 301 |
-
|
| 302 |
-
file_btn=gr.Button("Load Files")
|
| 303 |
-
file_json=gr.JSON()
|
| 304 |
sub_b = submit_b.click(agent, [prompt,chatbot,mod_c],chatbot)
|
| 305 |
sub_p = prompt.submit(agent, [prompt,chatbot,mod_c],chatbot)
|
| 306 |
stop_b.click(None,None,None, cancels=[sub_b,sub_p])
|
|
|
|
| 298 |
with gr.Row(visible=False):
|
| 299 |
stt=gr.Textbox()
|
| 300 |
with gr.Column():
|
| 301 |
+
html_view=gr.HTML("""<iframe src='https://huggingface.co/spaces/community-pool/test1/tree/main' height='1000' width='200'>Viewer Space</iframe>""")
|
|
|
|
|
|
|
| 302 |
sub_b = submit_b.click(agent, [prompt,chatbot,mod_c],chatbot)
|
| 303 |
sub_p = prompt.submit(agent, [prompt,chatbot,mod_c],chatbot)
|
| 304 |
stop_b.click(None,None,None, cancels=[sub_b,sub_p])
|