michaelmc1618 commited on
Commit
3f59042
·
verified ·
1 Parent(s): a6ad559

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -7,8 +7,8 @@ from transformers import pipeline
7
  # Install necessary dependencies
8
  os.system('pip install transformers gradio requests pandas')
9
 
10
- # Inference client for chat completion
11
- client = InferenceClient("HuggingFaceH4/zephyr-7b-beta")
12
 
13
  # Different pipelines for different tasks
14
  qa_pipeline = pipeline("question-answering", model="deepset/roberta-base-squad2")
 
7
  # Install necessary dependencies
8
  os.system('pip install transformers gradio requests pandas')
9
 
10
+ # Inference client for chat completion using GPT-4
11
+ client = InferenceClient("openai/gpt-4")
12
 
13
  # Different pipelines for different tasks
14
  qa_pipeline = pipeline("question-answering", model="deepset/roberta-base-squad2")