Spaces:
Sleeping
Sleeping
test deployment
Browse files
app.py
CHANGED
@@ -1,7 +1,7 @@
|
|
1 |
import io
|
2 |
import os
|
3 |
-
|
4 |
-
|
5 |
|
6 |
import torch
|
7 |
import json
|
@@ -429,5 +429,5 @@ with gr.Blocks(theme=gr.themes.Soft(), css=custom_css, title="PEEB") as demo:
|
|
429 |
xclip_edit_button.click(on_edit_button_click_xclip, inputs=[], outputs=[xclip_textbox, custom_explanation])
|
430 |
xclip_predict_button.click(on_predict_button_click_xclip, inputs=[xclip_textbox], outputs=[xclip_textbox, xclip_pred_label, xclip_explanation, custom_pred_label, custom_explanation])
|
431 |
|
432 |
-
demo.launch(server_port=5000, share=True)
|
433 |
-
|
|
|
1 |
import io
|
2 |
import os
|
3 |
+
os.system("pip uninstall -y gradio")
|
4 |
+
os.system("pip install gradio==3.41.0")
|
5 |
|
6 |
import torch
|
7 |
import json
|
|
|
429 |
xclip_edit_button.click(on_edit_button_click_xclip, inputs=[], outputs=[xclip_textbox, custom_explanation])
|
430 |
xclip_predict_button.click(on_predict_button_click_xclip, inputs=[xclip_textbox], outputs=[xclip_textbox, xclip_pred_label, xclip_explanation, custom_pred_label, custom_explanation])
|
431 |
|
432 |
+
# demo.launch(server_port=5000, share=True)
|
433 |
+
demo.launch()
|