Spaces:
Build error
Build error
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()
|