dgnk007 commited on
Commit
9468cf9
1 Parent(s): 1c197a4

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -0
app.py CHANGED
@@ -1,6 +1,7 @@
1
  import gradio as gr
2
  import pip
3
  pip.main(['install', 'transformers'])
 
4
  model_name_or_path='dgnk007/eagle'
5
  def generate_response(message):
6
  prompt_template=f"Below is an instruction that describes a task. Write a response that appropriately completes the request.\n\n### Instruction:\n {message}\n\n### Response:\n"
 
1
  import gradio as gr
2
  import pip
3
  pip.main(['install', 'transformers'])
4
+ from transformers import pipeline
5
  model_name_or_path='dgnk007/eagle'
6
  def generate_response(message):
7
  prompt_template=f"Below is an instruction that describes a task. Write a response that appropriately completes the request.\n\n### Instruction:\n {message}\n\n### Response:\n"