MohammedAlakhras commited on
Commit
c633f3a
1 Parent(s): 91cbb8c

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -0
app.py CHANGED
@@ -1,5 +1,6 @@
1
  import torch
2
  from transformers import AutoModelForCausalLM, AutoTokenizer, GenerationConfig
 
3
 
4
  # Define the device
5
  device = torch.device("cuda" if torch.cuda.is_available() else "cpu")
 
1
  import torch
2
  from transformers import AutoModelForCausalLM, AutoTokenizer, GenerationConfig
3
+ import gradio as gr
4
 
5
  # Define the device
6
  device = torch.device("cuda" if torch.cuda.is_available() else "cpu")