Eminda commited on
Commit
7194457
·
1 Parent(s): dd8d188
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -2,7 +2,7 @@ import gradio as gr
2
  # Use a pipeline as a high-level helper
3
  from transformers import pipeline
4
 
5
- pipe = pipeline("text-generation", model="TheBloke/orca_mini_v2_7B-GGML", trust_remote_code=True)
6
 
7
  def greet(name):
8
  return pipe('who is the president of USA')
 
2
  # Use a pipeline as a high-level helper
3
  from transformers import pipeline
4
 
5
+ pipe = pipeline("text-generation", model="gpt2", trust_remote_code=True)
6
 
7
  def greet(name):
8
  return pipe('who is the president of USA')