chansung commited on
Commit
b9d9ab2
1 Parent(s): 700bb80

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +0 -3
app.py CHANGED
@@ -3,9 +3,6 @@ import gradio as gr
3
 
4
  from gen import get_pretrained_models, get_output, setup_model_parallel
5
 
6
- torch.cuda.set_device(0)
7
- torch.cuda.empty_cache()
8
-
9
  def chat(user_input):
10
  bot_response = "hello world"
11
  response = ""
 
3
 
4
  from gen import get_pretrained_models, get_output, setup_model_parallel
5
 
 
 
 
6
  def chat(user_input):
7
  bot_response = "hello world"
8
  response = ""