wt123 commited on
Commit
93521ff
1 Parent(s): e9cba33
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -1,7 +1,7 @@
1
  import openai
2
  import gradio as gr
3
 
4
- openai.api_key = "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"
5
 
6
  def get_completion_from_messages(messages, model="gpt-3.5-turbo", temperature=0):
7
  response = openai.ChatCompletion.create(
@@ -93,7 +93,7 @@ def gradio():
93
  output_text = gr.outputs.Textbox(label="Extracted information")
94
 
95
  interface = gr.Interface(fn=get_response, inputs=[input_text], outputs=output_text, examples=exp,
96
- article="Example abstract from https://doi.org/10.21203/rs.3.rs-1547583/v1")
97
  interface.launch()
98
 
99
 
 
1
  import openai
2
  import gradio as gr
3
 
4
+ openai.api_key = "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"
5
 
6
  def get_completion_from_messages(messages, model="gpt-3.5-turbo", temperature=0):
7
  response = openai.ChatCompletion.create(
 
93
  output_text = gr.outputs.Textbox(label="Extracted information")
94
 
95
  interface = gr.Interface(fn=get_response, inputs=[input_text], outputs=output_text, examples=exp,
96
+ article="Example abstract from https://doi.org/10.21203/rs.3.rs-1547583/v1 and https://doi.org/10.1038/s41590-022-01129-x")
97
  interface.launch()
98
 
99