bayandorian commited on
Commit
c2b8507
·
verified ·
1 Parent(s): f282fc0

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -1,7 +1,7 @@
1
  import gradio as gr
2
  from huggingface_hub import InferenceClient
3
 
4
- client = InferenceClient("gpt2")
5
 
6
  def generate_text(prompt):
7
  return client.text_generation(prompt,temperature=1.2, top_k=50, top_p=0.9, repetition_penalty=1.2)
 
1
  import gradio as gr
2
  from huggingface_hub import InferenceClient
3
 
4
+ client = InferenceClient("bayandorian/gpt2-kurdish")
5
 
6
  def generate_text(prompt):
7
  return client.text_generation(prompt,temperature=1.2, top_k=50, top_p=0.9, repetition_penalty=1.2)