developer3000 commited on
Commit
53e30e9
·
1 Parent(s): 2579b4d

Add application file

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -19,7 +19,7 @@ def my_inference_function(Question):
19
  response = llm(prompt, max_tokens=4000)['choices'][0]['text']
20
  return response
21
 
22
- gradio_interface = gradio.Interface(
23
  fn = my_inference_function,
24
  inputs = "text",
25
  outputs = "text"
 
19
  response = llm(prompt, max_tokens=4000)['choices'][0]['text']
20
  return response
21
 
22
+ gradio_interface = gr.Interface(
23
  fn = my_inference_function,
24
  inputs = "text",
25
  outputs = "text"