leonsimon23 commited on
Commit
c4da235
·
verified ·
1 Parent(s): ebd53b4

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -28,7 +28,7 @@ class FastGPTChat:
28
  "chatId": chat_id,
29
  "stream": False,
30
  "detail": True,
31
- "model": "gpt-4", # 指定使用 gpt-4 模型
32
  "messages": [
33
  {
34
  "role": "user",
@@ -117,7 +117,7 @@ def create_chat_interface(api_key):
117
 
118
  # 创建Gradio界面
119
  with gr.Blocks(title="FastGPT Chat") as interface:
120
- gr.Markdown("# FastGPT Chat Interface (Using GPT-4)")
121
 
122
  with gr.Row():
123
  api_key_input = gr.Textbox(
 
28
  "chatId": chat_id,
29
  "stream": False,
30
  "detail": True,
31
+ "model": "gpt-4o", # 指定使用 gpt-4 模型
32
  "messages": [
33
  {
34
  "role": "user",
 
117
 
118
  # 创建Gradio界面
119
  with gr.Blocks(title="FastGPT Chat") as interface:
120
+ gr.Markdown("# FastGPT Chat Interface (Using GPT-4o)")
121
 
122
  with gr.Row():
123
  api_key_input = gr.Textbox(