Spaces:
Running
Running
developer3000
commited on
Commit
•
cc31257
1
Parent(s):
4a6a56b
Update app.py
Browse files
app.py
CHANGED
@@ -24,6 +24,6 @@ def my_inference_function(Question):
|
|
24 |
response = llm(prompt, max_tokens=4000)['choices'][0]['text']
|
25 |
return response
|
26 |
|
27 |
-
gradio_interface = gr.ChatInterface(my_inference_function)
|
28 |
|
29 |
gradio_interface.launch()
|
|
|
24 |
response = llm(prompt, max_tokens=4000)['choices'][0]['text']
|
25 |
return response
|
26 |
|
27 |
+
gradio_interface = gr.ChatInterface(fn = my_inference_function)
|
28 |
|
29 |
gradio_interface.launch()
|