yejunliang23 commited on
Commit
89fb757
·
verified ·
1 Parent(s): 988bee5

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -8
app.py CHANGED
@@ -1,10 +1,5 @@
1
- import torch
2
  import spaces
3
- data=torch.tensor(3).to("cuda")
4
- print(data)
5
- """
6
  import subprocess
7
-
8
  import os
9
  import torch
10
  from threading import Thread
@@ -490,7 +485,5 @@ with gr.Blocks() as demo:
490
  addfile_btn.upload(add_file, [chatbot, task_history, addfile_btn, task_new, viewer_plot, query],\
491
  [chatbot, task_history, viewer_mesh, task_new, viewer_plot, query],\
492
  show_progress=True)
493
-
494
 
495
- demo.launch()
496
- """
 
 
1
  import spaces
 
 
 
2
  import subprocess
 
3
  import os
4
  import torch
5
  from threading import Thread
 
485
  addfile_btn.upload(add_file, [chatbot, task_history, addfile_btn, task_new, viewer_plot, query],\
486
  [chatbot, task_history, viewer_mesh, task_new, viewer_plot, query],\
487
  show_progress=True)
 
488
 
489
+ demo.launch()