Spaces:
Build error
Build error
Update app.py
Browse files
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):
|