anubhav-singh commited on
Commit
a6d2206
·
verified ·
1 Parent(s): b982e95

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -4
app.py CHANGED
@@ -10,7 +10,6 @@ model = AutoModel.from_pretrained(
10
  torch_dtype="auto",
11
  trust_remote_code=True,
12
  low_cpu_mem_usage=True,
13
- force_download=True,
14
  )
15
  tokenizer = AutoTokenizer.from_pretrained("DuckyBlender/racist-phi3")
16
 
@@ -49,9 +48,7 @@ gr.ChatInterface(
49
  fn=phi3_fun,
50
  title =title,
51
  examples = examples,
52
- theme='sudeepshouche/minimalist',
53
- trust_remote_code=True,
54
- force_download=True
55
  ).launch(debug=True)
56
  # demo = gr.Interface(fn=phi3_fun, inputs="text", outputs="text",title =title,
57
  # examples = examples)
 
10
  torch_dtype="auto",
11
  trust_remote_code=True,
12
  low_cpu_mem_usage=True,
 
13
  )
14
  tokenizer = AutoTokenizer.from_pretrained("DuckyBlender/racist-phi3")
15
 
 
48
  fn=phi3_fun,
49
  title =title,
50
  examples = examples,
51
+ theme='sudeepshouche/minimalist'
 
 
52
  ).launch(debug=True)
53
  # demo = gr.Interface(fn=phi3_fun, inputs="text", outputs="text",title =title,
54
  # examples = examples)