BcantCode commited on
Commit
e3309dc
·
verified ·
1 Parent(s): 7306c6a

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -4
app.py CHANGED
@@ -1,10 +1,8 @@
1
  import gradio as gr
2
- from transformers import AutoModelForCausalLM, AutoTokenizer
3
  import torch
4
 
5
- # Load model and tokenizer
6
- tokenizer = AutoTokenizer.from_pretrained("microsoft/DialoGPT-small")
7
- model = AutoModelForCausalLM.from_pretrained("microsoft/DialoGPT-small")
8
 
9
  # Chat history (global per session)
10
  chat_history_ids = None
 
1
  import gradio as gr
2
+
3
  import torch
4
 
5
+
 
 
6
 
7
  # Chat history (global per session)
8
  chat_history_ids = None