Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -219,9 +219,10 @@ with gr.Blocks() as app:
|
|
219 |
with gr.Row():
|
220 |
stop_button=gr.Button("Stop")
|
221 |
clear_btn = gr.Button("Clear")
|
222 |
-
|
|
|
223 |
#text=gr.JSON()
|
224 |
#inp_query.change(search_models,inp_query,models_dd)
|
225 |
-
go=button.click(summarize,[prompt,chatbot],[prompt,chatbot])
|
226 |
stop_button.click(None,None,None,cancels=[go])
|
227 |
app.launch(server_port=7860,show_api=False)
|
|
|
219 |
with gr.Row():
|
220 |
stop_button=gr.Button("Stop")
|
221 |
clear_btn = gr.Button("Clear")
|
222 |
+
with gr.Row():
|
223 |
+
data=gr.Textbox(label="Input Data", lines=6)
|
224 |
#text=gr.JSON()
|
225 |
#inp_query.change(search_models,inp_query,models_dd)
|
226 |
+
go=button.click(summarize,[prompt,chatbot,data],[prompt,chatbot])
|
227 |
stop_button.click(None,None,None,cancels=[go])
|
228 |
app.launch(server_port=7860,show_api=False)
|