Tonic commited on
Commit
3d3bb15
โ€ข
1 Parent(s): f863aac

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -10,7 +10,7 @@ def predict(user_input):
10
  result = client.predict(
11
  user_input,
12
  system_prompt,
13
- api_name="/mistralmed"
14
  )
15
 
16
  # Return the result from the API
@@ -18,7 +18,7 @@ def predict(user_input):
18
 
19
  # Define the Gradio interface with a title and description
20
  iface = gr.Interface(
21
- fn=predict,
22
  inputs=gr.Textbox(label="User Input"),
23
  outputs=gr.Textbox(label="Result"),
24
  title="๐Ÿ‘‹๐Ÿป๐Ÿ‘‹๐ŸปWelcome to MistralMed_EasyChat",
 
10
  result = client.predict(
11
  user_input,
12
  system_prompt,
13
+ api_name="/predict"
14
  )
15
 
16
  # Return the result from the API
 
18
 
19
  # Define the Gradio interface with a title and description
20
  iface = gr.Interface(
21
+ fn=mistralmed,
22
  inputs=gr.Textbox(label="User Input"),
23
  outputs=gr.Textbox(label="Result"),
24
  title="๐Ÿ‘‹๐Ÿป๐Ÿ‘‹๐ŸปWelcome to MistralMed_EasyChat",