developer3000 commited on
Commit
407888c
·
verified ·
1 Parent(s): 41db9bf

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +5 -5
app.py CHANGED
@@ -19,11 +19,11 @@ def my_inference_function(Question):
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"
26
- )
27
  #gradio_interface.launch()
28
 
29
  def predict(message, history):
 
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"
26
+ #)
27
  #gradio_interface.launch()
28
 
29
  def predict(message, history):