Spaces:
Runtime error
Runtime error
Update app.py
Browse files
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 = ""
|